diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-02-28 18:55:21 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-02-28 18:55:21 +0000 |
| commit | ac3f850123c903f00c163d6d2dbad22d98aec7a2 (patch) | |
| tree | 2e622a3e9349a9062454d16bf4bca83a5a3e9d90 /cpp/src/qpid/framing/Buffer.h | |
| parent | 1820dd421a096ed184a08deee9512e809312fed2 (diff) | |
| download | qpid-python-ac3f850123c903f00c163d6d2dbad22d98aec7a2.tar.gz | |
QPID-820 from tross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632087 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/Buffer.h')
| -rw-r--r-- | cpp/src/qpid/framing/Buffer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/Buffer.h b/cpp/src/qpid/framing/Buffer.h index 5ab897d351..d0ca41f82b 100644 --- a/cpp/src/qpid/framing/Buffer.h +++ b/cpp/src/qpid/framing/Buffer.h @@ -57,11 +57,16 @@ public: void putShort(uint16_t i); void putLong(uint32_t i); void putLongLong(uint64_t i); + void putFloat(float f); + void putDouble(double f); + void putBin128(uint8_t* b); - uint8_t getOctet(); + uint8_t getOctet(); uint16_t getShort(); uint32_t getLong(); uint64_t getLongLong(); + float getFloat(); + double getDouble(); template <int n> uint64_t getUInt(); @@ -73,6 +78,7 @@ public: void putLongString(const string& s); void getShortString(string& s); void getLongString(string& s); + void getBin128(uint8_t* b); void putRawData(const string& s); void getRawData(string& s, uint32_t size); |
