VMware GemFire Native Client C++ API Reference
|
VMware VMware GemFire Native C++ Reference 10.4.3
|
Loading...
Searching...
No Matches
DataOutput.hpp
Provide operations for writing primitive data values, byte arrays, strings, Serializable objects to a...
Definition DataOutput.hpp:48
void writeInt(uint64_t value)
Write a 64-bit unsigned integer value to the DataOutput.
Definition DataOutput.hpp:175
void writeBytesOnly(const int8_t *bytes, size_t len)
Write an array of signed bytes without its length to the DataOutput.
Definition DataOutput.hpp:131
void rewindCursor(size_t offset)
Rewind the buffer cursor by the given offset.
Definition DataOutput.hpp:383
void writeChars(const std::basic_string< _CharT, _Tail... > &value)
Writes a sequence of UTF-16 code units representing the given string value.
Definition DataOutput.hpp:330
void writeInt(int16_t value)
Write a 16-bit signed integer value to the DataOutput.
Definition DataOutput.hpp:192
void writeChar(uint16_t value)
Write a 16-bit Char (wchar_t) value to the DataOutput.
Definition DataOutput.hpp:151
void writeDouble(double value)
Write a double precision real number to the DataOutput.
Definition DataOutput.hpp:254
const uint8_t * getCursor()
Get an internal pointer to the current location in the DataOutput byte array.
Definition DataOutput.hpp:366
void writeFloat(float value)
Write a float value to the DataOutput.
Definition DataOutput.hpp:240
const uint8_t * getBuffer() const
Get a pointer to the internal buffer of DataOutput.
Definition DataOutput.hpp:394
void write(int8_t value)
Write a signed byte to the DataOutput.
Definition DataOutput.hpp:65
size_t getRemainingBufferLength() const
Get a pointer to the internal buffer of DataOutput.
Definition DataOutput.hpp:402
void writeBytes(const int8_t *bytes, int32_t len)
Write an array of signed bytes to the DataOutput.
Definition DataOutput.hpp:99
void writeArrayLen(int32_t len)
Write a 32-bit signed integer array length value to the DataOutput in a manner compatible with java s...
Definition DataOutput.hpp:221
void writeInt(uint16_t value)
Write a 16-bit unsigned integer value to the DataOutput.
Definition DataOutput.hpp:140
void writeBytes(const uint8_t *bytes, int32_t len)
Write an array of unsigned bytes to the DataOutput.
Definition DataOutput.hpp:80
DataOutput(const CacheImpl *cache, Pool *pool)
Construct a new DataOutput.
void writeBytesOnly(const uint8_t *bytes, size_t len)
Write an array of unsigned bytes without its length to the DataOutput.
Definition DataOutput.hpp:114
void writeInt(uint32_t value)
Write a 32-bit unsigned integer value to the DataOutput.
Definition DataOutput.hpp:162
void write(uint8_t value)
Write an unsigned byte to the DataOutput.
Definition DataOutput.hpp:55
void writeObject(const std::shared_ptr< PTR > &objptr, bool isDelta=false)
Write a Serializable object to the DataOutput.
Definition DataOutput.hpp:358
virtual ~DataOutput() noexcept
Destruct a DataOutput, including releasing the created buffer.
Definition DataOutput.hpp:494
void reset()
Reset the internal cursor to the start of the buffer.
Definition DataOutput.hpp:438
void writeInt(int32_t value)
Write a 32-bit signed integer value to the DataOutput.
Definition DataOutput.hpp:201
const uint8_t * getBuffer(size_t *rsize) const
Get a pointer to the internal buffer of DataOutput.
Definition DataOutput.hpp:413
void writeBoolean(bool value)
Write a boolean value to the DataOutput.
Definition DataOutput.hpp:72
void writeInt(int64_t value)
Write a 64-bit signed integer value to the DataOutput.
Definition DataOutput.hpp:210
size_t getBufferLength() const
Get the length of current data in the internal buffer of DataOutput.
Definition DataOutput.hpp:433
void writeChars(const _CharT *value)
Writes a sequence of UTF-16 code units representing the given string value.
Definition DataOutput.hpp:347
void advanceCursor(size_t offset)
Advance the buffer cursor by the given offset.
Definition DataOutput.hpp:373
Thrown when the system cannot allocate any more memory.
Definition ExceptionTypes.hpp:392
A pool of connections to connect from a client to a set of Geode Cache Servers.
Definition Pool.hpp:59
Apache Geode C++ Cache API Documentation