diff --git a/main/NPOI.Core.csproj b/main/NPOI.Core.csproj index 7f80d4bb1..26a0530cf 100644 --- a/main/NPOI.Core.csproj +++ b/main/NPOI.Core.csproj @@ -23,7 +23,7 @@ - + diff --git a/main/POIFS/Crypt/Standard/StandardDecryptor.cs b/main/POIFS/Crypt/Standard/StandardDecryptor.cs index 96feef9c6..bcd4434df 100644 --- a/main/POIFS/Crypt/Standard/StandardDecryptor.cs +++ b/main/POIFS/Crypt/Standard/StandardDecryptor.cs @@ -399,6 +399,28 @@ public void Reset() { } + +#if NET6_0_OR_GREATER + public int ProcessByte(byte input, Span output) + { + return 0; + } + + public int ProcessBytes(ReadOnlySpan input, Span output) + { + return 0; + } + + public int DoFinal(Span output) + { + return 0; + } + + public int DoFinal(ReadOnlySpan input, Span output) + { + return 0; + } +#endif } public class NullCipher : Cipher {