package iostream

  1. Overview
  2. Docs

Source file seekable.ml

1
2
3
4
5
6
7
8
class type t =
  object
    method seek : int -> unit
    method pos : unit -> int
  end

let[@inline] seek self i : unit = self#seek i
let[@inline] pos self = self#pos ()
OCaml

Innovation. Community. Security.