package scid

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Manual destinations.

val add_bytes : t -> Bytes.t -> int -> int -> unit

add_bytes e s k l provides e with l bytes to write, starting at k in s. This byte range is written by calls to encode with e until `Partial is returned. Use rem to know the remaining number of non-written free bytes in s.

Warning. Do not use with non-`Manual encoder destinations.

val rem : t -> int

rem e is the remaining number of non-written, free bytes in the last buffer provided with add_bytes.

OCaml

Innovation. Community. Security.