package owee

  1. Overview
  2. Docs

Module Owee_buf.ReadSource

Sourceval s8 : cursor -> s8
Sourceval u8 : cursor -> u8
Sourceval u16 : cursor -> u16
Sourceval u32 : cursor -> u32
Sourceval u32be : cursor -> u32
Sourceval u64 : cursor -> u64
Sourceval i64 : cursor -> i64
Sourceval uleb128 : cursor -> u128
Sourceval sleb128 : cursor -> s128
Sourceval fixed_string : cursor -> int -> string

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

Sourceval 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.

Sourceval buffer : cursor -> int -> t
OCaml

Innovation. Community. Security.