package owee

  1. Overview
  2. Docs
val s8 : cursor -> s8
val u8 : cursor -> u8
val u16 : cursor -> u16
val u32 : cursor -> u32
val u32be : cursor -> u32
val u64 : cursor -> u64
val uleb128 : cursor -> u128
val sleb128 : cursor -> s128
val fixed_string : cursor -> int -> string

 fixed_string t len reads a string of exactly len bytes from t

val zero_string : cursor -> ?maxlen:int -> unit -> string option

zero_string t ?maxlen () reads a zero-terminated string from t, stopping at the first zero or when maxlen is reached, if it was provided.

val buffer : cursor -> int -> t
OCaml

Innovation. Community. Security.