Iostream.SliceByte slice or buffer.
type t = Iostream_types.Slice.t = {bytes : bytes;Bytes
*)mutable off : int;Offset in bytes
*)mutable len : int;Length of the slice. Empty slice has len=0
}A slice of bytes. The valid bytes in the slice are bytes[off], bytes[off+1], …, bytes[off+len-1] (i.e len bytes starting at offset off).
val empty : tval create : int -> tval of_bytes : bytes -> tval bytes : t -> bytesval off : t -> intval len : t -> intval consume : t -> int -> unitConsume the first n bytes from the slice, making it n bytes shorter. This modifies the slice in place.
val find_index_exn : t -> char -> intfind index of c in slice, or raise Not_found