Ocamlnet 4 Reference Manual : Netnumber.ENCDEC

`sig
val read_int4 : Stdlib.Bytes.t -> int -> Netnumber.int4
val read_int8 : Stdlib.Bytes.t -> int -> Netnumber.int8
val read_uint4 : Stdlib.Bytes.t -> int -> Netnumber.uint4
val read_uint8 : Stdlib.Bytes.t -> int -> Netnumber.uint8
val read_int4_unsafe : Stdlib.Bytes.t -> int -> Netnumber.int4
val read_int8_unsafe : Stdlib.Bytes.t -> int -> Netnumber.int8
val read_uint4_unsafe : Stdlib.Bytes.t -> int -> Netnumber.uint4
val read_uint8_unsafe : Stdlib.Bytes.t -> int -> Netnumber.uint8
val read_string_int4 : string -> int -> Netnumber.int4
val read_string_int8 : string -> int -> Netnumber.int8
val read_string_uint4 : string -> int -> Netnumber.uint4
val read_string_uint8 : string -> int -> Netnumber.uint8
val read_string_int4_unsafe : string -> int -> Netnumber.int4
val read_string_int8_unsafe : string -> int -> Netnumber.int8
val read_string_uint4_unsafe : string -> int -> Netnumber.uint4
val read_string_uint8_unsafe : string -> int -> Netnumber.uint8
val write_int4 : Stdlib.Bytes.t -> int -> Netnumber.int4 -> unit
val write_int8 : Stdlib.Bytes.t -> int -> Netnumber.int8 -> unit
val write_uint4 : Stdlib.Bytes.t -> int -> Netnumber.uint4 -> unit
val write_uint8 : Stdlib.Bytes.t -> int -> Netnumber.uint8 -> unit
val write_int4_unsafe : Stdlib.Bytes.t -> int -> Netnumber.int4 -> unit
val write_int8_unsafe : Stdlib.Bytes.t -> int -> Netnumber.int8 -> unit
val write_uint4_unsafe : Stdlib.Bytes.t -> int -> Netnumber.uint4 -> unit
val write_uint8_unsafe : Stdlib.Bytes.t -> int -> Netnumber.uint8 -> unit
val int4_as_bytes : Netnumber.int4 -> Stdlib.Bytes.t
val int8_as_bytes : Netnumber.int8 -> Stdlib.Bytes.t
val uint4_as_bytes : Netnumber.uint4 -> Stdlib.Bytes.t
val uint8_as_bytes : Netnumber.uint8 -> Stdlib.Bytes.t
val int4_as_string : Netnumber.int4 -> string
val int8_as_string : Netnumber.int8 -> string
val uint4_as_string : Netnumber.uint4 -> string
val uint8_as_string : Netnumber.uint8 -> string
val write_fp4 : Stdlib.Bytes.t -> int -> Netnumber.fp4 -> unit
val write_fp8 : Stdlib.Bytes.t -> int -> Netnumber.fp8 -> unit
val fp4_as_string : Netnumber.fp4 -> string
val fp8_as_string : Netnumber.fp8 -> string
val fp4_as_bytes : Netnumber.fp4 -> Stdlib.Bytes.t
val fp8_as_bytes : Netnumber.fp8 -> Stdlib.Bytes.t
val read_fp4 : Stdlib.Bytes.t -> int -> Netnumber.fp4
val read_fp8 : Stdlib.Bytes.t -> int -> Netnumber.fp8
val read_string_fp4 : string -> int -> Netnumber.fp4
val read_string_fp8 : string -> int -> Netnumber.fp8
end`