Sourceval unsafe_escape : bytes -> bytes Sourceval is_valid_utf_8 : t -> bool Sourceval is_valid_utf_16be : t -> bool Sourceval is_valid_utf_16le : t -> bool Sourceval fold_left : f:('a -> char -> 'a) -> init:'a -> bytes -> 'a val fold_left : f:('acc -> char -> 'acc) -> init:'acc -> bytes -> 'acc
Sourceval fold_right : f:(char -> 'a -> 'a) -> bytes -> init:'a -> 'a val fold_right : f:(char -> 'acc -> 'acc) -> bytes -> init:'acc -> 'acc
val fold_right : f:(char -> 'a -> 'a) -> bytes -> init:'a -> 'a
Sourceval for_all : f:(char -> bool) -> bytes -> bool Sourceval exists : f:(char -> bool) -> bytes -> bool Sourceval starts_with : prefix:bytes -> bytes -> bool Sourceval ends_with : suffix:bytes -> bytes -> bool Sourceval split_on_char : sep:char -> bytes -> bytes list Sourceval unsafe_blit_string :
src:string ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unit external unsafe_blit_string : src:string -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit = "caml_blit_string"@@noalloc
Sourceval get_uint8 : bytes -> int -> int Sourceval get_int8 : bytes -> int -> int Sourceval get_uint16_ne : bytes -> int -> int Sourceval get_uint16_be : bytes -> int -> int Sourceval get_uint16_le : bytes -> int -> int Sourceval get_int16_ne : bytes -> int -> int Sourceval get_int16_be : bytes -> int -> int Sourceval get_int16_le : bytes -> int -> int Sourceval get_int32_ne : bytes -> int -> int32 Sourceval get_int32_be : bytes -> int -> int32 Sourceval get_int32_le : bytes -> int -> int32 Sourceval get_int64_ne : bytes -> int -> int64 Sourceval get_int64_be : bytes -> int -> int64 Sourceval get_int64_le : bytes -> int -> int64 Sourceval set_uint8 : bytes -> int -> int -> unit Sourceval set_int8 : bytes -> int -> int -> unit Sourceval set_uint16_ne : bytes -> int -> int -> unit Sourceval set_uint16_be : bytes -> int -> int -> unit Sourceval set_uint16_le : bytes -> int -> int -> unit Sourceval set_int16_ne : bytes -> int -> int -> unit Sourceval set_int16_be : bytes -> int -> int -> unit Sourceval set_int16_le : bytes -> int -> int -> unit Sourceval set_int32_ne : bytes -> int -> int32 -> unit Sourceval set_int32_be : bytes -> int -> int32 -> unit Sourceval set_int32_le : bytes -> int -> int32 -> unit Sourceval set_int64_ne : bytes -> int -> int64 -> unit Sourceval set_int64_be : bytes -> int -> int64 -> unit Sourceval set_int64_le : bytes -> int -> int64 -> unit Sourceval sub_string : bytes -> pos:int -> len:int -> string Sourceval extend : bytes -> left:int -> right:int -> bytes Sourceval blit_string :
src:string ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unit val blit_string : src:string -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit
Sourceval cat : bytes -> bytes -> bytes Sourceval index_opt : bytes -> char -> int option Sourceval rindex_opt : bytes -> char -> int option Sourceval index_from_opt : bytes -> int -> char -> int option Sourceval rindex_from_opt : bytes -> int -> char -> int option Sourceval uppercase_ascii : bytes -> bytes Sourceval lowercase_ascii : bytes -> bytes Sourceval capitalize_ascii : bytes -> bytes Sourceval uncapitalize_ascii : bytes -> bytes Sourceval length : bytes -> int Sourceval get : bytes -> int -> char Sourceval set : bytes -> int -> char -> unit external set : bytes -> int -> char -> unit = "%bytes_safe_set"
external set : bytes -> int -> char -> unit = "%string_safe_set"
Sourceval create : int -> bytes Sourceval make : int -> char -> bytes Sourceval init : int -> f:(int -> char) -> bytes Sourceval copy : bytes -> bytes Sourceval of_string : string -> bytes Sourceval to_string : bytes -> string Sourceval sub : bytes -> pos:int -> len:int -> bytes Sourceval fill : bytes -> pos:int -> len:int -> char -> unit Sourceval blit :
src:bytes ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unit val blit : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit
Sourceval concat : sep:bytes -> bytes list -> bytes Sourceval iter : f:(char -> unit) -> bytes -> unit Sourceval iteri : f:(int -> char -> unit) -> bytes -> unit Sourceval map : f:(char -> char) -> bytes -> bytes Sourceval mapi : f:(int -> char -> char) -> bytes -> bytes Sourceval trim : bytes -> bytes Sourceval escaped : bytes -> bytes Sourceval index : bytes -> char -> int Sourceval rindex : bytes -> char -> int Sourceval index_from : bytes -> int -> char -> int Sourceval rindex_from : bytes -> int -> char -> int Sourceval contains : bytes -> char -> bool Sourceval contains_from : bytes -> int -> char -> bool Sourceval rcontains_from : bytes -> int -> char -> bool Sourceval unsafe_to_string : bytes -> string Sourceval unsafe_of_string : string -> bytes Sourceval unsafe_get : bytes -> int -> char external unsafe_get : bytes -> int -> char = "%bytes_unsafe_get"
external unsafe_get : bytes -> int -> char = "%string_unsafe_get"
Sourceval unsafe_set : bytes -> int -> char -> unit external unsafe_set : bytes -> int -> char -> unit = "%bytes_unsafe_set"
external unsafe_set : bytes -> int -> char -> unit = "%string_unsafe_set"
Sourceval unsafe_blit :
src:bytes ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unit external unsafe_blit : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit = "caml_blit_bytes"@@noalloc
external unsafe_blit : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit = "caml_blit_string"@@noalloc
external unsafe_blit : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit = "caml_blit_string" "noalloc"
Sourceval unsafe_fill : bytes -> pos:int -> len:int -> char -> unit external unsafe_fill : bytes -> pos:int -> len:int -> char -> unit = "caml_fill_bytes" @@noalloc
external unsafe_fill : bytes -> pos:int -> len:int -> char -> unit = "caml_fill_string"@@noalloc
external unsafe_fill : bytes -> pos:int -> len:int -> char -> unit = "caml_fill_string" "noalloc"