package scid

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

The valid SCID header.

val size : int

size is the size of the SCID header, in bytes.

val check : Bytes.t -> int -> (unit, string) Result.result

check b p is Ok () if b contains a valid header starting at p, and Error msg otherwise

val write : ?start:int -> ?len:int -> Bytes.t -> int -> unit

write ~start ~len b p write the portion of the valid SCID header starting at start, of length len, to b at p.

OCaml

Innovation. Community. Security.