v2.0.1
Version 2.0.1 Changelog:
- Added
TrimNullTerminators(ref char[] chars)
andTrimNullTerminators(ref Span<char> chars)
toEndianBinaryPrimitives
which will remove all '\0' from the end - Added
ReadSBytes(ReadOnlySpan<byte> src, Span<sbyte> dest)
andWriteSBytes(Span<byte> dest, ReadOnlySpan<sbyte> src)
toEndianBinaryPrimitives
- Added heavily optimized enum methods to
EndianBinaryPrimitives
that use the same optimization techniques as the ones inEndianBinaryReader
andEndianBinaryWriter
- Added
PeekBytes(Span<byte> dest)
toEndianBinaryReader
No breaking changes from v2.0.0