Ejemplo n.º 1
0
 protected override string ReadStringProtected(int offset, int byteLength, Encoding encoding)
 {
     return(ScalarSpanReader.ReadString(this.memory.AsSpan().Slice(offset, byteLength), encoding));
 }
Ejemplo n.º 2
0
 public string ReadString(int offset, int byteLength, Encoding encoding)
 {
     return(ScalarSpanReader.ReadString(this.memory.AsSpan().Slice(offset, byteLength), encoding));
 }