package rio

  1. Overview
  2. Docs

Module Rio.BytesSource

Sourcetype t = bytes
Sourceval empty : t
Sourceval with_capacity : int -> t
Sourceval length : t -> int
Sourceval sub : t -> pos:int -> len:int -> t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval split : ?max:int -> on:string -> t -> t list
Sourceval join : t -> t -> t
Sourcemodule Bytes_writer : sig ... end
Sourceval to_writer : t -> Bytes_writer.t Writer.t