FormattingHelpers
We don't have access to Math.DivRem, so this is a copy of the implementation.
We don't have access to Math.DivRem, so this is a copy of the implementation.
Fills a buffer with the ASCII character '0' (0x30).
Returns the symbol contained within the standard format. If the standard format
has not been initialized, returns the provided fallback symbol.
Writes a value [ 0000 .. 9999 ] to the buffer starting at the specified offset.
This method performs best when the starting index is a constant literal.
public static void WriteHexByte(byte value, Span<byte> buffer, int startingIndex = 0, HexCasing casing = 0)
Writes a value [ 00 .. 99 ] to the buffer starting at the specified offset.
This method performs best when the starting index is a constant literal.