This module extends Base.Bytes.
include sig ... endval bin_t : t Bin_prot.Type_class.tval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : (Core_kernel__.Import.int ‑> t) Bin_prot.Read.readerval bin_reader_t : t Bin_prot.Type_class.readerval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_writer_t : t Bin_prot.Type_class.writerval bin_shape_t : Bin_prot.Shape.tval typerep_of_t : t Typerep_lib.Std.Typerep.tval typename_of_t : t Typerep_lib.Std.Typename.tinclude module type of sig ... end with type t := tval t_of_sexp : Base.Sexp.t ‑> tval sexp_of_t : t ‑> Base.Sexp.tval blit : (t, t) Base__.Blit_intf.blitval blito : (t, t) Base__.Blit_intf.blitoval unsafe_blit : (t, t) Base__.Blit_intf.blitval sub : (t, t) Base__.Blit_intf.subval subo : (t, t) Base__.Blit_intf.suboval clamp : t ‑> min:t ‑> max:t ‑> t Base.Or_error.tval comparator : (t, comparator_witness) Base.Comparator.comparatorval validate_lbound : min:t Base.Maybe_bound.t ‑> t Base.Validate.checkval validate_ubound : max:t Base.Maybe_bound.t ‑> t Base.Validate.checkval validate_bound : min:t Base.Maybe_bound.t ‑> max:t Base.Maybe_bound.t ‑> t Base.Validate.checkval of_string : string ‑> tval to_string : t ‑> stringval pp : Base.Formatter.t ‑> t ‑> unitmodule To_string = Base__Bytes.To_stringmodule From_string = Base__Bytes.From_stringval create : int ‑> tval make : int ‑> char ‑> tval init : int ‑> f:(int ‑> char) ‑> tval of_char_list : char list ‑> tval length : t ‑> intval get : t ‑> int ‑> charexternal unsafe_get : t ‑> int ‑> char = "%bytes_unsafe_get" val set : t ‑> int ‑> char ‑> unitexternal unsafe_set : t ‑> int ‑> char ‑> unit = "%bytes_unsafe_set" val fill : t ‑> pos:int ‑> len:int ‑> char ‑> unitval tr : target:char ‑> replacement:char ‑> t ‑> unitval to_list : t ‑> char listval contains : ?pos:int ‑> ?len:int ‑> t ‑> char ‑> boolval unsafe_to_string : no_mutation_while_string_reachable:t ‑> stringval unsafe_of_string_promise_no_mutation : string ‑> tval gen' : Core_kernel__.Import.char Core_kernel.Quickcheck.Generator.t ‑> t Core_kernel.Quickcheck.Generator.tLike gen, but generate bytes with the given distribution of characters.
val gen_with_length : Core_kernel__.Import.int ‑> Core_kernel__.Import.char Core_kernel.Quickcheck.Generator.t ‑> t Core_kernel.Quickcheck.Generator.tLike gen', but generate bytes with the given length.
module Stable : sig ... endNote that bytes is already stable by itself, since as a primitive type it is an
integral part of the sexp / bin_io protocol. Bytes.Stable exists only to provide
interface uniformity with other stable types.