src/AnvilPacker/Data/IO/BitReader.cs
/// <summary> Reads raw bytes from the stream. </summary>
/// <remarks>The stream is aligned to the next byte boundary before data is read to <paramref name="buffer"/>.</remarks>
Reads raw bytes from the stream.
Reads raw bytes from the stream .
public void ReadAligned(Span<byte> buffer)
        {
            Align();
            ReadUnaligned(buffer);
        }
public void ReadAligned ( Span < byte > buffer ) { Align ( ) ; ReadUnaligned ( buffer ) ; }
Reads raw bytes from the stream.
Reads raw bytes from the stream .
//TODO: optimize //_buf.AsSpan(_pos >> 3, (_len - _pos) >> 3).CopyTo(buffer);
buffer
Span<byte>
remarks
The stream is aligned to the next byte boundary before data is read to .
The stream is aligned to the next byte boundary before data is read to .