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 (char16_t ch) |
| |
Write a 16-bit Unicode character value.
- Parameters:
-
|
ch |
the Unicode character as a char16_t value |
- Exceptions:
-
|
|
virtual void |
writeString (String::View vs) |
| |
Write a sequence of UTF-8 encoded 16-bit Unicode characters.
- Parameters:
-
|
vs |
a String value to write; may be NULL |
- Exceptions:
-
|
|
virtual void |
writeInt16 (int16_t n) |
| |
Write a 16-bit integer value.
- Parameters:
-
|
n |
the int16_t value to be written |
- Exceptions:
-
|
|
virtual void |
writeInt32 (int32_t n) |
| |
Write a 32-bit integer value.
- Parameters:
-
|
n |
the int32_t value to be written |
- Exceptions:
-
|
|
virtual void |
writeInt64 (int64_t n) |
| |
Write a 64-bit integer value.
- Parameters:
-
|
n |
the int64_t value to be written |
- Exceptions:
-
|
|
virtual void |
writeFloat32 (float32_t fl) |
| |
Write a 32-bit floating-point value.
- Parameters:
-
|
fl |
the float32_t value to be written |
- Exceptions:
-
|
|
virtual void |
writeFloat64 (float64_t dfl) |
| |
Write a 64-bit floating-point value.
- Parameters:
-
|
dfl |
the float64_t value to be written |
- Exceptions:
-
|
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.
|