Up

Module Octet_stream

Signature

module Encoding : sig .. end
type t
val compare : t -> t -> int
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
include String_monoidable.S with type t := t
type t
val to_string_monoid : t -> String_monoid.t
include Core.Std.Stringable.S with type t := t
type t
val of_string : string -> t
val to_string : t -> string
val hash : t -> int
val empty : t
val create : ?encoding:Encoding.t -> Bigstring_shared.t -> t
val encoding : t -> Encoding.t
val encoded_contents : t -> Bigstring_shared.t
val encode : encoding:Encoding.known -> Bigstring_shared.t -> t
val decode : t -> Bigstring_shared.t option