public DataBufferReader(DataBufferWriter writer) { Span = writer.Span; CurrReadIndex = 0; }
public DataBufferReader(DataBufferWriter writer) { DataPtr = (byte *)writer.GetSafePtr(); CurrReadIndex = 0; Length = writer.Length; }
public DataStreamWriter(DataBufferWriter buffer) { Buffer = buffer; }