Skip to content

v2.0.1

Compare
Choose a tag to compare
@Kermalis Kermalis released this 31 Aug 22:07
· 17 commits to master since this release

Version 2.0.1 Changelog:

  • Added TrimNullTerminators(ref char[] chars) and TrimNullTerminators(ref Span<char> chars) to EndianBinaryPrimitives which will remove all '\0' from the end
  • Added ReadSBytes(ReadOnlySpan<byte> src, Span<sbyte> dest) and WriteSBytes(Span<byte> dest, ReadOnlySpan<sbyte> src) to EndianBinaryPrimitives
  • Added heavily optimized enum methods to EndianBinaryPrimitives that use the same optimization techniques as the ones in EndianBinaryReader and EndianBinaryWriter
  • Added PeekBytes(Span<byte> dest) to EndianBinaryReader

No breaking changes from v2.0.0