|
static void | Copy (const Char_t *from, Char_t *to, Int_t size) |
| copy the content from -> to More...
|
|
static void | Delete (Char_t *p) |
|
static void | Delete (Short_t *p) |
|
static void | Delete (Int_t *p) |
|
static void | Delete (UChar_t *p) |
|
static void | Delete (UShort_t *p) |
|
static void | Delete (UInt_t *p) |
|
static void | Delete (Float_t *p) |
|
static void | Delete (Double_t *p) |
|
static Int_t | GetEndian () |
|
static bool | IsBytes (Memory::EEndian e) |
| check out the endian type of the running system More...
|
|
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) More...
|
|
static Short_t * | New (Short_t *p, Int_t nb=32 *KBYTE) |
|
static Int_t * | New (Int_t *p, Int_t nb=32 *KBYTE) |
|
static UChar_t * | New (UChar_t *p, Int_t nb=32 *KBYTE) |
|
static UShort_t * | New (UShort_t *p, Int_t nb=32 *KBYTE) |
|
static UInt_t * | New (UInt_t *p, Int_t nb=32 *KBYTE) |
|
static Float_t * | New (Float_t *p, Int_t nb=32 *KBYTE) |
|
static Double_t * | New (Double_t *p, Int_t nb=32 *KBYTE) |
|
static Char_t * | New (Char_t *p, UInt_t nb=32 *KBYTE) |
|
static Short_t * | New (Short_t *p, UInt_t nb=32 *KBYTE) |
|
static Int_t * | New (Int_t *p, UInt_t nb=32 *KBYTE) |
|
static Long_t * | New (Long_t *p, UInt_t nb=32 *KBYTE) |
|
static UChar_t * | New (UChar_t *p, UInt_t nb=32 *KBYTE) |
|
static UShort_t * | New (UShort_t *p, UInt_t nb=32 *KBYTE) |
|
static UInt_t * | New (UInt_t *p, UInt_t nb=32 *KBYTE) |
|
static Float_t * | New (Float_t *p, UInt_t nb=32 *KBYTE) |
|
static Double_t * | New (Double_t *p, UInt_t nb=32 *KBYTE) |
|
static void | Swap (Short_t, Char_t *) |
| the Swap members More...
|
|
static void | Swap (UShort_t, Char_t *) |
|
static void | Swap (Int_t, Char_t *) |
|
static void | Swap (UInt_t, Char_t *) |
|
static void | Swap (Float_t, Char_t *) |
|
static void | Swap (Double_t, Char_t *) |
|
static void | Swap (Char_t *, Short_t &) |
|
static void | Swap (Char_t *, UShort_t &) |
|
static void | Swap (Char_t *, Int_t &) |
|
static void | Swap (Char_t *, UInt_t &) |
|
static void | Swap (Char_t *, Float_t &) |
|
static void | Swap (Char_t *, Double_t &) |
|
static void | Zero (Char_t *p, Int_t nb) |
| fast initialization of the buffer at 0 More...
|
|
static void | Zero (Short_t *p, Int_t nb) |
|
static void | Zero (Int_t *p, Int_t nb) |
|
static void | Zero (UChar_t *p, Int_t nb) |
|
static void | Zero (UShort_t *p, Int_t nb) |
|
static void | Zero (UInt_t *p, Int_t nb) |
|
static void | Zero (Float_t *p, Int_t nb) |
|
static void | Zero (Double_t *p, Int_t nb) |
|
static void | Zero (Char_t *p, UInt_t nb) |
|
static void | Zero (Short_t *p, UInt_t nb) |
|
static void | Zero (Int_t *p, UInt_t nb) |
|
static void | Zero (UChar_t *p, UInt_t nb) |
|
static void | Zero (UShort_t *p, UInt_t nb) |
|
static void | Zero (UInt_t *p, UInt_t nb) |
|
static void | Zero (Float_t *p, UInt_t nb) |
|
static void | Zero (Double_t *p, UInt_t nb) |
|
A buffer is used to read/write raw data buffers from/on files.
It is an array of fSize bytes with a cursor on it. Stream operators are defined for some basic types.
By default, the size of the buffer is 32 kBYTE. For some reason, the allocation could failed in the constructor. In this case the kBad flags is set. Be sure your buffer is good after creating it before any readings/writings.
- Author
- Olivier Stezowski
Definition at line 43 of file Buffer.h.