= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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
.