Memory.InputA set of low level input operations. Note: it is more effective to use above head iterators, instead of this low level interface, since iterators do not need to check every memory access.
type 'a reader = t -> pos_ref:addr Core_kernel.ref -> 'a Core_kernel.Or_error.treader mem ~pos_ref defines a set of functions with a common interface. Each function accepts a memory mem and a pos_ref - a reference to a address that should be read. This reference will be updated for the amount of bytes that was actually read.