package octez-proto-libs
Octez protocol libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-proto-libs.protocol-environment/Tezos_protocol_environment/V8/Make/Data_encoding/Bounded/index.html
Module Data_encoding.Bounded
val string :
?length_kind:[ `N | `Uint30 | `Uint16 | `Uint8 ] ->
string_json_repr ->
int ->
string encoding
Encoding of a string whose length does not exceed the specified length.
If length_kind
is set, then it is used to encode the length of the string in a header. If length_kind
is omitted then the length field uses the smallest fixed-width integer that can accommodate the maximum size - e.g., `Uint8
for very short strings, `Uint16
for longer strings, etc.
Attempting to construct a string with a length that is too long causes an Invalid_argument
exception.
val bytes :
?length_kind:[ `N | `Uint30 | `Uint16 | `Uint8 ] ->
string_json_repr ->
int ->
Bytes.t encoding
See string
above.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>