We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9190ffd commit e536b6eCopy full SHA for e536b6e
src/Dahomey.Cbor/Serialization/CborReader.cs
@@ -75,6 +75,7 @@ public ref struct CborReader
75
private int _remainingItemCount;
76
77
public CborOptions Options { get; }
78
+ public ReadOnlySpan<byte> Buffer => _buffer;
79
80
public CborReader(ReadOnlySpan<byte> buffer, CborOptions? options = null)
81
{
src/Dahomey.Cbor/Serialization/CborWriter.cs
@@ -27,6 +27,7 @@ public ref struct CborWriter
27
private IBufferWriter<byte> _bufferWriter;
28
29
30
+ public IBufferWriter<byte> BufferWriter => _bufferWriter;
31
32
public CborWriter(IBufferWriter<byte> bufferWriter, CborOptions? options = null)
33
0 commit comments