package bitstring

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type endian =
  1. | BigEndian
  2. | LittleEndian
  3. | NativeEndian
val string_of_endian : endian -> string
type bitstring = string * int * int
type t = bitstring
exception Construct_failure of string * string * int * int
val compare : bitstring -> bitstring -> int
val equals : bitstring -> bitstring -> bool
val is_zeroes_bitstring : bitstring -> bool
val is_ones_bitstring : bitstring -> bool
val bitstring_length : bitstring -> int
val subbitstring : bitstring -> int -> int -> bitstring
val dropbits : int -> bitstring -> bitstring
val takebits : int -> bitstring -> bitstring
val concat : bitstring list -> bitstring
val empty_bitstring : bitstring
val create_bitstring : int -> bitstring
val make_bitstring : int -> char -> bitstring
val zeroes_bitstring : int -> bitstring
val ones_bitstring : int -> bitstring
val bitstring_of_string : string -> bitstring
val bitstring_of_file : string -> bitstring
val bitstring_of_chan : Pervasives.in_channel -> bitstring
val bitstring_of_chan_max : Pervasives.in_channel -> int -> bitstring
val bitstring_of_file_descr : Unix.file_descr -> bitstring
val bitstring_of_file_descr_max : Unix.file_descr -> int -> bitstring
val string_of_bitstring : bitstring -> string
val bitstring_to_file : bitstring -> string -> unit
val bitstring_to_chan : bitstring -> Pervasives.out_channel -> unit
val hexdump_bitstring : Pervasives.out_channel -> bitstring -> unit
module Buffer : sig ... end
val set : bitstring -> int -> unit
val clear : bitstring -> int -> unit
val is_set : bitstring -> int -> bool
val is_clear : bitstring -> int -> bool
val put : bitstring -> int -> int -> unit
val get : bitstring -> int -> int
val package : string
val version : string
val debug : bool Pervasives.ref
val extract_bit : string -> int -> int -> int -> bool
val extract_char_unsigned : string -> int -> int -> int -> int
val extract_int_be_unsigned : string -> int -> int -> int -> int
val extract_int_le_unsigned : string -> int -> int -> int -> int
val extract_int_ne_unsigned : string -> int -> int -> int -> int
val extract_int_ee_unsigned : endian -> string -> int -> int -> int -> int
val extract_int32_be_unsigned : string -> int -> int -> int -> int32
val extract_int32_le_unsigned : string -> int -> int -> int -> int32
val extract_int32_ne_unsigned : string -> int -> int -> int -> int32
val extract_int32_ee_unsigned : endian -> string -> int -> int -> int -> int32
val extract_int64_be_unsigned : string -> int -> int -> int -> int64
val extract_int64_le_unsigned : string -> int -> int -> int -> int64
val extract_int64_ne_unsigned : string -> int -> int -> int -> int64
val extract_int64_ee_unsigned : endian -> string -> int -> int -> int -> int64
val extract_fastpath_int16_be_unsigned : string -> int -> int
val extract_fastpath_int16_le_unsigned : string -> int -> int
val extract_fastpath_int16_ne_unsigned : string -> int -> int
val extract_fastpath_int16_be_signed : string -> int -> int
val extract_fastpath_int16_le_signed : string -> int -> int
val extract_fastpath_int16_ne_signed : string -> int -> int
val extract_fastpath_int32_be_unsigned : string -> int -> int32
val extract_fastpath_int32_le_unsigned : string -> int -> int32
val extract_fastpath_int32_ne_unsigned : string -> int -> int32
val extract_fastpath_int32_be_signed : string -> int -> int32
val extract_fastpath_int32_le_signed : string -> int -> int32
val extract_fastpath_int32_ne_signed : string -> int -> int32
val extract_fastpath_int64_be_unsigned : string -> int -> int64
val extract_fastpath_int64_le_unsigned : string -> int -> int64
val extract_fastpath_int64_ne_unsigned : string -> int -> int64
val extract_fastpath_int64_be_signed : string -> int -> int64
val extract_fastpath_int64_le_signed : string -> int -> int64
val extract_fastpath_int64_ne_signed : string -> int -> int64
val construct_bit : Buffer.t -> bool -> int -> exn -> unit
val construct_char_unsigned : Buffer.t -> int -> int -> exn -> unit
val construct_int_be_unsigned : Buffer.t -> int -> int -> exn -> unit
val construct_int_le_unsigned : Buffer.t -> int -> int -> exn -> unit
val construct_int_ne_unsigned : Buffer.t -> int -> int -> exn -> unit
val construct_int_ee_unsigned : endian -> Buffer.t -> int -> int -> exn -> unit
val construct_int32_be_unsigned : Buffer.t -> int32 -> int -> exn -> unit
val construct_int32_le_unsigned : Buffer.t -> int32 -> int -> exn -> unit
val construct_int32_ne_unsigned : Buffer.t -> int32 -> int -> exn -> unit
val construct_int32_ee_unsigned : endian -> Buffer.t -> int32 -> int -> exn -> unit
val construct_int64_be_unsigned : Buffer.t -> int64 -> int -> exn -> unit
val construct_int64_le_unsigned : Buffer.t -> int64 -> int -> exn -> unit
val construct_int64_ne_unsigned : Buffer.t -> int64 -> int -> exn -> unit
val construct_int64_ee_unsigned : endian -> Buffer.t -> int64 -> int -> exn -> unit
val construct_string : Buffer.t -> string -> unit
val construct_bitstring : Buffer.t -> bitstring -> unit
OCaml

Innovation. Community. Security.