Extension methods to read/write different datatypes to Span<byte> (tested, benchmarked, optimized). Plus SpanStream and MemoryStreamer for stream-like behavior on Span<byte> and Memory<byte>. See documentation on GitHub for examples.
VB.NET source file that contains an extension method that determines whether an UInt32 value is a multiple of another value (Decimal). Zero values are handled correctly without throwing any DivideByZeroException.
Supported versions:
.NET Framework 3.5
.NET Framework 4.0
.NET Framework 4.5
.NET...
More information