val length : bytes -> intval get : bytes -> int -> charval set : bytes -> int -> char -> unitval create : int -> bytesval make : int -> char -> bytesval init : int -> f:(int -> char) -> bytesval copy : bytes -> bytesval of_string : string -> bytesval to_string : bytes -> stringval sub : bytes -> pos:int -> len:int -> bytesval extend : bytes -> left:int -> right:int -> bytesval fill : bytes -> pos:int -> len:int -> char -> unitval blit :
src:bytes ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unitval concat : sep:bytes -> bytes list -> bytesval cat : bytes -> bytes -> bytesval iter : f:(char -> unit) -> bytes -> unitval iteri : f:(int -> char -> unit) -> bytes -> unitval map : f:(char -> char) -> bytes -> bytesval mapi : f:(int -> char -> char) -> bytes -> bytesval fold_left : f:('a -> char -> 'a) -> init:'a -> bytes -> 'aval fold_right : f:(char -> 'a -> 'a) -> bytes -> init:'a -> 'aval for_all : f:(char -> bool) -> bytes -> boolval exists : f:(char -> bool) -> bytes -> boolval trim : bytes -> bytesval escaped : bytes -> bytesval index : bytes -> char -> intval index_opt : bytes -> char -> int optionval rindex : bytes -> char -> intval rindex_opt : bytes -> char -> int optionval index_from : bytes -> int -> char -> intval index_from_opt : bytes -> int -> char -> int optionval rindex_from : bytes -> int -> char -> intval rindex_from_opt : bytes -> int -> char -> int optionval contains : bytes -> char -> boolval contains_from : bytes -> int -> char -> boolval rcontains_from : bytes -> int -> char -> boolval uppercase : bytes -> bytesval lowercase : bytes -> bytesval capitalize : bytes -> bytesval uncapitalize : bytes -> bytesval uppercase_ascii : bytes -> bytesval lowercase_ascii : bytes -> bytesval capitalize_ascii : bytes -> bytesval uncapitalize_ascii : bytes -> bytesval compare : t -> t -> intval equal : t -> t -> boolval starts_with : prefix:bytes -> bytes -> boolval ends_with : suffix:bytes -> bytes -> boolval unsafe_to_string : bytes -> stringval unsafe_of_string : string -> bytesval split_on_char : sep:char -> bytes -> bytes listval to_seqi : t -> (int * char) Seq.tval set_utf_8_uchar : t -> int -> Uchar.t -> intval is_valid_utf_8 : t -> boolval set_utf_16be_uchar : t -> int -> Uchar.t -> intval is_valid_utf_16be : t -> boolval set_utf_16le_uchar : t -> int -> Uchar.t -> intval is_valid_utf_16le : t -> boolval get_uint8 : bytes -> int -> intval get_int8 : bytes -> int -> intval get_uint16_ne : bytes -> int -> intval get_uint16_be : bytes -> int -> intval get_uint16_le : bytes -> int -> intval get_int16_ne : bytes -> int -> intval get_int16_be : bytes -> int -> intval get_int16_le : bytes -> int -> intval get_int32_ne : bytes -> int -> int32val get_int32_be : bytes -> int -> int32val get_int32_le : bytes -> int -> int32val get_int64_ne : bytes -> int -> int64val get_int64_be : bytes -> int -> int64val get_int64_le : bytes -> int -> int64val set_uint8 : bytes -> int -> int -> unitval set_int8 : bytes -> int -> int -> unitval set_uint16_ne : bytes -> int -> int -> unitval set_uint16_be : bytes -> int -> int -> unitval set_uint16_le : bytes -> int -> int -> unitval set_int16_ne : bytes -> int -> int -> unitval set_int16_be : bytes -> int -> int -> unitval set_int16_le : bytes -> int -> int -> unitval set_int32_ne : bytes -> int -> int32 -> unitval set_int32_be : bytes -> int -> int32 -> unitval set_int32_le : bytes -> int -> int32 -> unitval set_int64_ne : bytes -> int -> int64 -> unitval set_int64_be : bytes -> int -> int64 -> unitval set_int64_le : bytes -> int -> int64 -> unitval unsafe_get : bytes -> int -> charval unsafe_set : bytes -> int -> char -> unitval unsafe_blit :
src:bytes ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unitval unsafe_blit_string :
src:string ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unitval unsafe_fill : bytes -> pos:int -> len:int -> char -> unitval sub_string : bytes -> pos:int -> len:int -> stringval blit_string :
src:string ->
src_pos:int ->
dst:bytes ->
dst_pos:int ->
len:int ->
unit