Vuo
1.2.2
|
A blob of 8-bit binary data.
Classes | |
struct | VuoData |
A blob of 8-bit binary data. More... | |
Functions | |
VuoData | VuoData_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. | |
struct json_object * | VuoData_getJson (const VuoData value) |
Encodes value as a JSON object. | |
char * | VuoData_getSummary (const VuoData value) |
Returns a compact string representation of value . | |
bool | VuoData_areEqual (const VuoData valueA, const VuoData valueB) |
Returns true if the two values are equal. | |
bool | VuoData_isLessThan (const VuoData valueA, const VuoData valueB) |
Returns true if valueA is less than valueB . | |
VuoData | VuoData_make (VuoInteger size, unsigned char *data) |
Returns a Binary Data structure with the specified values. | |
VuoData | VuoData_makeFromText (const VuoText text) |
Returns a Binary Data structure with the specified text data (excluding the text's trailing NULL). | |
VuoData | VuoData_makeFromString (const char *str) |
Automatically generated function. | |
char * | VuoData_getString (const VuoData value) |
Automatically generated function. | |
void | VuoData_retain (VuoData value) |
Automatically generated function. | |
void | VuoData_release (VuoData value) |
Automatically generated function. | |
struct VuoData |
Class Members | ||
---|---|---|
char | blah[42] | |
char * | data | 8-bit data. |
VuoInteger | size |
Number of bytes in data . |
Returns true if the two values are equal.
|
read |
Encodes value
as a JSON object.
char* VuoData_getString | ( | const VuoData | value | ) |
Automatically generated function.
char* VuoData_getSummary | ( | const VuoData | value | ) |
Returns a compact string representation of value
.
Returns true if valueA
is less than valueB
.
VuoData VuoData_make | ( | VuoInteger | size, |
unsigned char * | data | ||
) |
Returns a Binary Data structure with the specified values.
data
is copied.
VuoData VuoData_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
js
is expected to be a JSON string object containing base64-encoded data.
VuoData VuoData_makeFromString | ( | const char * | str | ) |
Automatically generated function.
Returns a Binary Data structure with the specified text data (excluding the text's trailing NULL).
text
is copied.
void VuoData_release | ( | VuoData | value | ) |
Automatically generated function.
void VuoData_retain | ( | VuoData | value | ) |
Automatically generated function.