from_bytes_or_null

pure static function from_bytes_or_null(bytes: byte_array): gtv?

Decode a GTV from a byte array.

Return

the decoded GTV, or null if the byte array does not encode a well-formed GTV; i.e. if a GTV cannot be decoded

Since

0.13.0

Parameters

bytes

the byte array to decode