class ByteBuffer {
public:
void put(char c);
+ void putInt(int32_t l);
void putLong(int64_t l);
+ void put(Array<char> * array);
int64_t getLong();
+ int32_t getInt();
char get();
-private:
+ void get(Array<char> * array);
+ void position(int32_t newPosition);
+ Array<char> * array();
+ private:
};
+ByteBuffer * ByteBuffer_wrap(Array<char> * array);
+ByteBuffer * ByteBuffer_allocate(uint size);
#endif