Skip to content

Commit

Permalink
rename Byte to byte
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos committed Jun 12, 2024
1 parent 9da8f1b commit 80bf882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LiteDB/Engine/FileReader/Legacy/AesEncryption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public byte[] Decrypt(byte[] encryptedValue, int offset = 0, int count = -1)
crypto.Write(encryptedValue, offset, count == -1 ? encryptedValue.Length : count);
crypto.FlushFinalBlock();
stream.Position = 0;
var decryptedBytes = new Byte[stream.Length];
var decryptedBytes = new byte[stream.Length];
stream.Read(decryptedBytes, 0, decryptedBytes.Length);

return decryptedBytes;
Expand Down
2 changes: 1 addition & 1 deletion LiteDB/Engine/FileReader/Legacy/ByteReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public Decimal ReadDecimal()
return new Decimal(new int[] { a, b, c, d });
}

public Byte[] ReadBytes(int count)
public byte[] ReadBytes(int count)
{
var buffer = new byte[count];

Expand Down

0 comments on commit 80bf882

Please sign in to comment.