Show / Hide Table of Contents

Namespace Eco.Shared.Utils.Binary

Classes

BinaryReaderExtensions

BinaryUtils

Utility methods to work with binary number representation.

BinaryWriterExtensions

BitReader

This class provides functionally to read bit-wide values, tracking bitOffset (in opposite to byte-wide values for regular System.IO.MemoryStream or byte array).

BitWriter

This class provides functionally to write bit-wide values, tracking bitOffset (in opposite to byte-wide values for regular MemoryStream).

ByteArrayHelper

ByteArrayReader

Utility class to read structured data from byte array.

ByteSpanReader

Wraps System.ReadOnlySpan<> as source for binary data. When Read* operation used then it changes internal state and so you need to avoid copy this struct if you need to keep reading position. But similar if you copy it before Read operation(s) then you can use original copy for read position reset.

☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾