package linksem

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type byte_sequence = {
  1. bytes : Stdlib.Bytes.t;
  2. start : int;
  3. len : int;
}
val of_bytes : Stdlib.Bytes.t -> byte_sequence
val length : byte_sequence -> int
val capacity : byte_sequence -> int
val empty : byte_sequence
val acquire : string -> byte_sequence Error.error
val serialise : string -> byte_sequence -> unit Error.error
val get : byte_sequence -> int -> char
val unsafe_get : byte_sequence -> int -> char
val read_char : byte_sequence -> (char * byte_sequence) Error.error
val find_byte : byte_sequence -> char -> int option
val make : int -> char -> byte_sequence
val concat : byte_sequence Stdlib.List.t -> byte_sequence
val zero_pad_to_length : int -> byte_sequence -> byte_sequence
val to_string : byte_sequence -> string
val list_init_tailrec_aux : 'a Stdlib.List.t -> int -> int -> (int -> 'a) -> 'a Stdlib.List.t
val list_init : int -> (int -> 'a) -> 'a list
val to_char_list : byte_sequence -> char list
val from_char_list : char Stdlib.List.t -> byte_sequence
exception Different of int
val compare : byte_sequence -> byte_sequence -> int
val equal : byte_sequence -> byte_sequence -> bool
val dropbytes : int -> byte_sequence -> byte_sequence Error.error
val takebytes : int -> byte_sequence -> byte_sequence Error.error
val big_num_length : byte_sequence -> Nat_big_num.num
val big_num_find_byte : byte_sequence -> char -> Nat_big_num.num option
val big_num_make : Nat_big_num.num -> char -> byte_sequence
val big_num_zero_pad_to_length : Nat_big_num.num -> byte_sequence -> byte_sequence
val char_list_of_byte_list : 'a -> 'a
val acquire_byte_list : string -> char list Error.error
val serialise_byte_list : string -> char Stdlib.List.t -> unit Error.error
OCaml

Innovation. Community. Security.