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