package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Img.t
val dim : t -> int

Size of the buffer.

type cursor = private {
  1. buffer : t;
  2. endian : Machine.endianness;
  3. mutable position : int;
}

A mutable cursor, pointing to an arbitrary position of a buffer.

val cursor : ?at:int -> Machine.endianness -> t -> cursor
val seek : cursor -> int -> unit
val ensure : cursor -> int -> string -> unit
val advance : cursor -> int -> unit
val at_end : cursor -> bool
module Peek : sig ... end
module Read : sig ... end
OCaml

Innovation. Community. Security.