Provides a write-only stream accessor of a proton buffer instance. The stream does not allow reading of the buffer that it wraps.
More...
|
| | ProtonBufferOutputStream (IProtonBuffer buffer) |
| | Create a new stream instance that wraps the given buffer. More...
|
| |
|
override void | Flush () |
| |
|
override void | Close () |
| |
|
override int | Read (byte[] buffer, int offset, int count) |
| |
|
override long | Seek (long offset, SeekOrigin origin) |
| |
|
override void | SetLength (long value) |
| |
|
override void | WriteByte (byte value) |
| |
|
override void | Write (byte[] buffer, int offset, int count) |
| |
|
|
override bool | CanRead => false |
| |
|
override bool | CanSeek => false |
| |
|
override bool | CanWrite => buffer.IsWritable |
| |
|
override long | Length => buffer.ReadableBytes |
| |
|
long | BytesWritten => buffer.WriteOffset - initialWriteIndex |
| |
|
|
override long | Position [get, set] |
| |
Provides a write-only stream accessor of a proton buffer instance. The stream does not allow reading of the buffer that it wraps.
◆ ProtonBufferOutputStream()
| Apache.Qpid.Proton.Buffer.ProtonBufferOutputStream.ProtonBufferOutputStream |
( |
IProtonBuffer |
buffer | ) |
|
|
inline |
Create a new stream instance that wraps the given buffer.
- Parameters
-
The documentation for this class was generated from the following file:
- src/Proton/Buffer/ProtonBufferOutputStream.cs