Avro.InputInput
A source of bytes.
val of_string : string -> tval of_string_compressed_deflate : string -> tRead from a string that is compressed using zlib. This will handle the decompression.
val of_chan : Stdlib.in_channel -> tInput that reads from the given channel.
val with_file : ?flags:Stdlib.open_flag list -> string -> (t -> 'a) -> 'aOpens file, call the function with an input feeding from the file, and makes sure to cleanup before returning the function's result.
module type CUSTOM = sig ... endCustom inputs
val read_byte : t -> charread_byte i returns the next char, or raises
val read_exact : t -> bytes -> int -> int -> unitread_exact i buf off len reads len bytes from i
val read_uint64 : t -> int64val read_int64 : t -> int64val read_int : t -> intval read_bool : t -> boolval read_string_of_len : t -> int -> stringval read_float32 : t -> floatval read_float64 : t -> floatval read_string : t -> stringRead length-prefixed string