Skip to content

STO APIs

APIs for parsing and manipulating serialized transaction objects (STOs) — locating a field or array element by code, and inserting or removing a field to build a new object. These functions used to share the "Utility APIs" page; for the return-value and error-code conventions they follow, see Utility APIs.


Index

FunctionPurpose
sto_validateCheck that a buffer is a well-formed serialized object.
sto_subfieldLocate a field within an STO (returns packed offset+length).
sto_subarrayLocate an array element within an STO array.
sto_emplaceInsert or replace a field within an STO.
sto_eraseRemove a field from an STO.