Array of bytes
![]() | asPtr () return the address of the byte array. |
![]() | changeSize (long newSize) Tell us to change our size, and return True if successful |
![]() | Compare (const OByteArray& obj) |
![]() | copyFrom (const void* pbuffer, long count, long position = 0) Copy count bytes from pbuffer into our data segment, beginning at position in our data |
![]() | copyTo (void* buffer, long count, long position = 0) Copy count bytes of our data, beginning at position pos, into buffer |
![]() | getCommonPrefixLength (const BYTE* p) Return the size of the longest common prefix with the parameter |
![]() | getLength () synonym for getSize |
![]() | getLongValueAt (long index) Obtain a long value from our array, beginning at the given position (i |
![]() | getShortValueAt (long index) Extract a short value from our array, beginning at the given position, and return it |
![]() | getSize () Return the number of bytes in the byte array. |
![]() | getSuffix (long index) Return the suffix beginning at the given index (using 0-origin indexing) |
![]() | OByteArray (void *pbuf, long size, Boolean resize = False) |
![]() | OByteArray (const OByteArray& b) |
![]() | OByteArray () |
![]() | operator BYTE* () |
![]() | operator!= (const OByteArray& b) |
![]() | operator!= (const void* b) |
![]() | operator) (long index, long size) Return the sub-array beginning at the given index (using 0-origin indexing) and of the given size |
![]() | operator< (const OByteArray& b) |
![]() | operator< (const void* b) |
![]() | operator<= (const void* b) |
![]() | operator<= (const OByteArray& b) |
![]() | operator= (long) Copy the given long value into this ByteArray, beginning at position 0 |
![]() | operator= (const OByteArray& b) Assign another byte array to this one. |
![]() | operator= (const void* p) Copy getSize() bytes from the given pointer position into this ByteArray |
![]() | operator= (short) |
![]() | operator== (const OByteArray& b) Check if this ByteArray's contents are identical to those of b using the memcmp function |
![]() | operator== (const void* b) This and other comparison methods that take character pointer arguments assume that the size of the memory segment pointed to by the parameter is the same as the size of this ByteArray |
![]() | operator> (const void* b) |
![]() | operator> (const OByteArray& b) |
![]() | operator>= (const OByteArray& b) |
![]() | operator>= (const void* b) |
![]() | operator[] (long index) |
![]() | readFrom (const OStream&) Overrides the method inherited from Object |
![]() | setAllBytesTo (BYTE b) |
![]() | writeTo (OStream&) Overrides the method inherited from Object |
![]() | ~OByteArray () |
Array of bytes
OByteArray(void *pbuf, long size, Boolean resize = False)
OByteArray(const OByteArray& b)
~OByteArray()
void setAllBytesTo(BYTE b)
virtual long getSize()
long getLength()
operator BYTE* ()
void* asPtr()
BYTE operator[](long index)
virtual Boolean operator== (const OByteArray& b)
virtual Boolean operator== (const void* b)
virtual Boolean operator!= (const OByteArray& b)
virtual Boolean operator!= (const void* b)
virtual Boolean operator>= (const OByteArray& b)
virtual Boolean operator>= (const void* b)
virtual Boolean operator<= (const OByteArray& b)
virtual Boolean operator<= (const void* b)
virtual Boolean operator> (const OByteArray& b)
virtual Boolean operator> (const void* b)
virtual Boolean operator< (const OByteArray& b)
virtual Boolean operator< (const void* b)
virtual short Compare(const OByteArray& obj)
OByteArray operator) (long index, long size)
OByteArray getSuffix(long index)
long getLongValueAt(long index)
short getShortValueAt(long index)
long getCommonPrefixLength(const BYTE* p)
virtual void operator= (const OByteArray& b)
virtual void operator= (const void* p)
virtual OByteArray& operator= (long)
virtual OByteArray& operator= (short)
virtual long copyFrom(const void* pbuffer, long count, long position = 0)
long copyTo(void* buffer, long count, long position = 0)
virtual Boolean changeSize(long newSize)
Boolean readFrom(const OStream&)
Boolean writeTo(OStream&)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de