Module utils

Module utils 

Source

Structs§

BigInteger
NetworkId
NonemptySet
NonemptySetRawBytes

Enums§

ScriptConversionError

Functions§

read_bounded_bytes
Read bounded bytes according to Cardano’s special format: bounded_bytes = bytes .size (0..64) ; the real bounded_bytes does not have this limit. it instead has a different ; limit which cannot be expressed in CDDL. ; The limit is as follows: ; - bytes with a definite-length encoding are limited to size 0..64 ; - for bytes with an indefinite-length CBOR encoding, each chunk is ; limited to size 0..64 ; ( reminder: in CBOR, the indefinite-length encoding of bytestrings ; consists of a token #2.31 followed by a sequence of definite-length ; encoded bytestrings and a stop code )
write_bounded_bytes
Write bounded bytes according to Cardano’s special format: bounded_bytes = bytes .size (0..64) ; the real bounded_bytes does not have this limit. it instead has a different ; limit which cannot be expressed in CDDL. ; The limit is as follows: ; - bytes with a definite-length encoding are limited to size 0..64 ; - for bytes with an indefinite-length CBOR encoding, each chunk is ; limited to size 0..64 ; ( reminder: in CBOR, the indefinite-length encoding of bytestrings ; consists of a token #2.31 followed by a sequence of definite-length ; encoded bytestrings and a stop code )

Type Aliases§

Set