Module Encoding.Fixed
Create encodings that produce data of a fixed length when binary encoded. See the preamble for an explanation.
val string : int -> string encoding
- raises Invalid_argument
if the argument is less or equal to zero.
val bytes : int -> Stdlib.Bytes.t encoding
- raises Invalid_argument
if the argument is less or equal to zero.