Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
LTRData committed Mar 22, 2024
1 parent 6811a1f commit 9ee7381
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/DiscUtils.Streams/Util/EncodingExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static int GetBytes(this Encoding encoding, ReadOnlySpan<char> chars, Spa
ArrayPool<char>.Shared.Return(str);
}
}

public static string GetString(this Encoding encoding, ReadOnlySpan<byte> bytes)
{
var buffer = ArrayPool<byte>.Shared.Rent(bytes.Length);
Expand Down

0 comments on commit 9ee7381

Please sign in to comment.