class BBufferStore : public BBuffer{
public:
BBufferStore(BUInt size = 0, int swapBytes = BBigEndian);
~BBufferStore();
BUInt32 getPos();
void setPos(BUInt32 pos);
BString getHexString();
void setHexString(BString s);
int push(BInt8 v);
int push(BUInt8 v);
int push(BInt16 v);
int push(BUInt16 v);
int push(BInt32 v);
int push(BUInt32 v);
int push(BInt64 v);
int push(BUInt64 v);
int push(BFloat32 v);
int push(BFloat64 v);
int push(const BString& v);
int push(const BError& v);
int push(const BTimeStamp& v);
int push(const BComplex& v);
int push(BUInt32 nBytes, const void* data, const char* swapType = "1");
int pop(BInt8& v);
int pop(BUInt8& v);
int pop(BInt16& v);
int pop(BUInt16& v);
int pop(BInt32& v);
int pop(BUInt32& v);
int pop(BInt64& v);
int pop(BUInt64& v);
int pop(BFloat32& v);
int pop(BFloat64& v);
int pop(BString& v);
int pop(BError& v);
int pop(BTimeStamp& v);
int pop(BComplex& v);
int pop(BUInt32 nBytes, void* data, const char* swapType = "1");
protected:
BUInt32 opos;
int oswapBytes;
};