package octez-proto-libs

  1. Overview
  2. Docs
type t = bytes
val create : int -> bytes
val length : bytes -> int
val copy : bytes -> bytes
val sub : bytes -> int -> int -> bytes
val blit : bytes -> int -> bytes -> int -> int -> unit
val blit_of_string : string -> int -> bytes -> int -> int -> unit
val blit_to_bytes : bytes -> int -> bytes -> int -> int -> unit
val of_string : string -> bytes
val to_string : bytes -> string
val sub_string : bytes -> int -> int -> string
val get_char : bytes -> int -> char
val set_char : bytes -> int -> char -> unit
include module type of struct include Tezos_stdlib.TzEndian end
val get_int32 : bytes -> int -> int32
val get_int32_string : string -> int -> int32
val set_int32 : bytes -> int -> int32 -> unit
val set_int8 : bytes -> int -> int -> unit
val get_int8 : bytes -> int -> int
val get_int8_string : string -> int -> int
val set_int16 : bytes -> int -> int -> unit
val get_int16 : bytes -> int -> int
val get_int16_string : string -> int -> int
val set_int64 : bytes -> int -> int64 -> unit
val get_int64 : bytes -> int -> int64
val get_int64_string : string -> int -> int64
val get_uint8 : bytes -> int -> int
val get_uint8_string : string -> int -> int
val set_uint8 : bytes -> int -> int -> unit
val get_uint16 : bytes -> int -> int
val get_uint16_string : string -> int -> int
val set_uint16 : bytes -> int -> int -> unit
val set_double : bytes -> int -> float -> unit
val get_double : bytes -> int -> float
val get_double_string : string -> int -> float
module LE : sig ... end
val (=) : 'a -> 'a -> bool
val (<>) : 'a -> 'a -> bool
val (<) : 'a -> 'a -> bool
val (<=) : 'a -> 'a -> bool
val (>=) : 'a -> 'a -> bool
val (>) : 'a -> 'a -> bool
val compare : Bytes.t -> Bytes.t -> int
val concat : string -> bytes list -> bytes
val to_hex : bytes -> Hex.t
val of_hex : Hex.t -> bytes
OCaml

Innovation. Community. Security.