(int count)
| 693 | } |
| 694 | |
| 695 | public byte[] ReadBytes(int count) |
| 696 | { |
| 697 | CheckBound(count); |
| 698 | byte[] result = new byte[count]; |
| 699 | Array.Copy(_storage, _cursor, result, 0, count); |
| 700 | _cursor += count; |
| 701 | return result; |
| 702 | } |
| 703 | |
| 704 | public ReadOnlySpan<byte> ReadSpan(int count) |
| 705 | { |
no outgoing calls