Get a copy of the array containing this value.
This value in binary form
Get a copy of the buffer containing this value.
This value in binary form
Returns the data content as a list of fields.
This disregards record boundaries. If there is more than one record, they are concatenated to produce a list of all of the fields.
This method would normally only be used when it is known that there is only one record.
a new mutable list of all the fields
Parses the content into a model based upon a specified schema.
This assumes that data is compatible with the schema and does not do any validation. There is no need to validate the data if this has been done on entry or at the server. However, if the data is invalid then issues may occur when attempting to access it.
If it is not certain that the data is valid then the asValidatedModel method may be used instead.
the schema to use for parsing the data
an immutable model derived from the data content
Returns the data content as an Array of Arrays of strings.
Example:
// Iterate across each record's fields
value.asRecords().forEach((record) => {
record.forEach((field) => {
console.log("Field value: " + field);
});
});
a new mutable list where each entry represents a record within the data
Parses the content into a model based upon a specified schema.
The data is validated against the schema
the schema to use for parsing the data
an immutable model derived from the data content
Copy the binary data to a provided buffer.
the buffer to copy data to
the position in the target buffer at which data will be copied
Compare this value with an earlier version to calculate a structural delta.
the original value to compare with this value
a structural delta representing the difference between the original and this value
Get the number of bytes
The length of the data in bytes
An immutable value representing a list of records.
See RecordV2DataType for details
6.0