Serialize an argument to BCS-serialized bytes.
Serialize an argument as a type-agnostic, fixed byte sequence. The byte sequence contains the number of the following bytes followed by the BCS-serialized bytes for a typed argument.
Serialize an argument to BCS-serialized bytes as a type aware byte sequence. The byte sequence contains an enum variant index followed by the BCS-serialized bytes for a typed argument.
Static
deserializeGenerated using TypeDoc
Serializes a
Serializable
value to its BCS representation. This function is the Typescript SDK equivalent ofbcs::to_bytes
in Move.