3 writes to _frameOffset
System.Formats.Cbor (3)
System\Formats\Cbor\Writer\CborWriter.cs (3)
115
_frameOffset
= 0;
277
_frameOffset
= _offset;
332
_frameOffset
= frame.FrameOffset;
9 references to _frameOffset
System.Formats.Cbor (9)
System\Formats\Cbor\Writer\CborWriter.Array.cs (5)
82
ReadOnlySpan<byte> elementEncoding = _buffer.AsSpan(
_frameOffset
, currentOffset -
_frameOffset
);
83
Span<byte> target = _buffer.AsSpan(
_frameOffset
+ bytesToShift, currentOffset -
_frameOffset
);
88
_offset =
_frameOffset
- 1;
System\Formats\Cbor\Writer\CborWriter.cs (1)
264
frameOffset:
_frameOffset
,
System\Formats\Cbor\Writer\CborWriter.Map.cs (2)
158
int totalMapPayloadEncodingLength = _offset -
_frameOffset
;
174
tmpSpan.CopyTo(source.Slice(
_frameOffset
, totalMapPayloadEncodingLength));
System\Formats\Cbor\Writer\CborWriter.String.cs (1)
227
_offset =
_frameOffset
- 1;