Skip to content

Encodings.cs: Zero buffers. #195

Encodings.cs: Zero buffers.

Encodings.cs: Zero buffers. #195

Triggered via push November 17, 2024 11:22
Status Success
Total duration 6m 31s
Artifacts 1

dotnet.yml

on: push
test-windows-x64
4m 12s
test-windows-x64
test-linux-x64
41s
test-linux-x64
test-macos-x64
39s
test-macos-x64
test-linux-musl-x64
30s
test-linux-musl-x64
Fit to window
Zoom out
Zoom in

Annotations

36 warnings
test-windows-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-windows-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-windows-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-windows-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-windows-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-linux-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-linux-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-linux-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-linux-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-linux-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-macos-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-macos-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-macos-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.
test-macos-x64: src/Geralt.Tests/BLAKE2bTests.cs#L199
Possible null reference argument for parameter 'message' in 'void BLAKE2b.ComputeHash(Span<byte> hash, Stream message)'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L68
Possible null reference argument for parameter 'hex' in 'byte[] Encodings.FromHex(string hex, string ignoreChars = ":- ")'.
test-macos-x64: src/Geralt.Tests/EncodingsTests.cs#L129
Possible null reference argument for parameter 'base64' in 'byte[] Encodings.FromBase64(string base64, Base64Variant variant = Base64Variant.Original, string ignoreChars = " ")'.

Artifacts

Produced during runtime
Name Size
artifact
319 KB