FUNCTION

gtv.toBytes

pure function toBytes(): byte_array

Deprecated (for removal): Use 'to_bytes' instead

Encode this GTV as byte array.

Inverse of gtv.from_bytes(byte_array).

Returns

a byte array containing an encoding of this GTV

Since

0.9.0

Alias of gtv.to_bytes

© 2026 Chromia