Skip to content

Commit

Permalink
Hide mutability to avoid mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Jul 28, 2023
1 parent 05354fc commit 4bdb9e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal IAsyncBinaryReader? ContentReader
init => content = metadata.Length > 0L ? value : null;
}

internal Memory<byte> ContentBuffer
internal ReadOnlyMemory<byte> ContentBuffer
{
init
{
Expand Down

0 comments on commit 4bdb9e2

Please sign in to comment.