package asai

  1. Overview
  2. Docs

The signature of data readers.

type file

An abstract type of files.

val load : string -> file

load file_path loads the resource at file_path.

val length : file -> int

length file_path gets the size of the file.

val unsafe_get : file -> int -> char

unsafe_get file_path i reads the ith byte of the file without checking the file size.

OCaml

Innovation. Community. Security.