#include <coherence/io/OctetArrayWriteBuffer.hpp>
Inherits AbstractWriteBuffer::AbstractBufferOutput.
A BufferOutput implementation that delegates to a BufferOutput implementation, except that its offset range is shifted and limited.
Public Types | |||||||
typedef spec::Handle | Handle | ||||||
OctetArrayBufferOutput Handle definition. | |||||||
typedef spec::View | View | ||||||
OctetArrayBufferOutput View definition. | |||||||
typedef spec::Holder | Holder | ||||||
OctetArrayBufferOutput Holder definition. | |||||||
Public Member Functions | |||||||
virtual void | writeChar16 (wchar16_t ch) | ||||||
Write a 16-bit Unicode character value.
| |||||||
virtual void | writeString (String::View vs) | ||||||
Write a sequence of UTF-8 encoded 16-bit Unicode characters.
| |||||||
virtual void | writeInt16 (int16_t n) | ||||||
Write a 16-bit integer value.
| |||||||
virtual void | writeInt32 (int32_t n) | ||||||
Write a 32-bit integer value.
| |||||||
virtual void | writeInt64 (int64_t n) | ||||||
Write a 64-bit integer value.
| |||||||
virtual void | writeFloat32 (float32_t fl) | ||||||
Write a 32-bit floating-point value.
| |||||||
virtual void | writeFloat64 (float64_t dfl) | ||||||
Write a 64-bit floating-point value.
| |||||||
Protected Member Functions | |||||||
OctetArrayBufferOutput (OctetArrayWriteBuffer::Handle hBuf) | |||||||
Create a new OctetArrayBufferOutput instance that delegates to the given OctetArrayWriteBuffer. | |||||||
virtual void | moveOffset (size32_t cb) | ||||||
Move the offset within the stream forward. | |||||||
Protected Attributes | |||||||
FinalHandle < OctetArrayWriteBuffer > | f_hBuf | ||||||
The delegate write buffer. |
OctetArrayBufferOutput | ( | OctetArrayWriteBuffer::Handle | hBuf | ) | [protected] |
Create a new OctetArrayBufferOutput instance that delegates to the given OctetArrayWriteBuffer.
hBuf | the delegate WriteBuffer |
virtual void moveOffset | ( | size32_t | cb | ) | [protected, virtual] |
Move the offset within the stream forward.
cb | the number of octets to advance the offset |