103 if ( newbuf == 0x0 )
return false;
EEndian
The adjectives big-endian and little-endian refer to which bytes are most significant in multi-byte d...
UInt_t Size() const
it returns the maximum number of bytes in this buffer
virtual void Reset()
Reset means set all elements to 0 and the current position is 0.
A buffer is used to read/write raw data buffers from/on files.
static bool IsBytes(Memory::EEndian e)
check out the endian type of the running system
static Buffer * New(Memory::EEndian e, UInt_t s=32 *KBYTE)
copy n bytes from one buffer to another one
UInt_t SetOffset(UInt_t off=0)
change the current position.
static void Zero(Char_t *p, Int_t nb)
fast initialization of the buffer at 0
static Char_t * New(Char_t *p, Int_t nb=32 *KBYTE)
To allocate a buffer that is set to 0 (some compilers don't do it)
Buffer(UInt_t s=32 *KBYTE)
Default size for a Buffer is 32 KBYTE.
void SetBytes(Memory::EEndian)
header file for Buffer.cpp
EndianBuffer(UInt_t s=32 *KBYTE)
A Endianbuffer is used to read/write raw data buffers from/on files.
static void Delete(Char_t *p)
virtual Bool_t Expand(UInt_t)
Expand the actual size of the buffer.