#include <YCPByteblock.h>
Inheritance diagram for YCPByteblockRep:
Public Member Functions | |
const unsigned char * | value () const |
long | size () const |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
YCPOrder | compare (const YCPByteblock &s) const |
YCPValueType | valuetype () const |
Protected Member Functions | |
YCPByteblockRep (const unsigned char *bytes, long len) | |
YCPByteblockRep (bytecodeistream &str, long len) | |
~YCPByteblockRep () | |
Private Attributes | |
const unsigned char * | bytes |
long | len |
Friends | |
class | YCPByteblock |
|
Creates a new YCPByteblockRep object.
|
|
Creates a new YCPByteblockRep object from a stream. See YCPByteblock (bytecodeistream &) implementation. |
|
Cleans up |
|
Compares two bytes blocks. |
|
Returns the number of bytes in the block. |
|
Output value as bytecode to stream Implements YCPElementRep. |
|
Returns a string representation of this objects value. Byteblock values are represented in YCP #(byteblockstring), where byteblockstring is some yet to be defined but typical byteblock and date representation. Implements YCPElementRep. |
|
Returns the bytes of the block. |
|
Returns YT_BYTEBLOCK. See YCPValueRep::type. Implements YCPValueRep. |
|
|
|
The byte block |
|
Length of the byte block |