Module CL_IODevice

module CL_IODevice: sig .. end

API documentation for the class CL_IODevice

type 'a t 
val is_null : 'a t -> bool
val get_size : 'a t -> int
val get_position : 'a t -> int
val is_little_endian : 'a t -> bool
val set_little_endian_mode : 'a t -> unit
val set_big_endian_mode : 'a t -> unit
val set_system_mode : 'a t -> unit
val send : 'a t -> data:string -> ?receive_all:bool -> unit -> int
val receive : 'a t -> data:string -> ?receive_all:bool -> unit -> int
type seek_mode = 
| Seek_set
| Seek_cur
| Seek_end
val seek : 'a t -> pos:int -> mode:seek_mode -> bool