Index of values


A
add_bit [Bitmatch.Buffer]
add_bits [Bitmatch.Buffer]
add_byte [Bitmatch.Buffer]

B
bitstring_length [Bitmatch]
bitstring_length bitstring returns the length of the bitstring in bits.
bitstring_of_chan [Bitmatch]
bitstring_of_chan chan loads the contents of the input channel chan as a bitstring.
bitstring_of_chan_max [Bitmatch]
bitstring_of_chan_max chan max works like Bitmatch.bitstring_of_chan but will only read up to max bytes from the channel (or fewer if the end of input occurs before that).
bitstring_of_file [Bitmatch]
bitstring_of_file filename loads the named file into a bitstring.
bitstring_of_file_descr [Bitmatch]
bitstring_of_file_descr fd loads the contents of the file descriptor fd as a bitstring.
bitstring_of_file_descr_max [Bitmatch]
bitstring_of_file_descr_max fd max works like Bitmatch.bitstring_of_file_descr but will only read up to max bytes from the channel (or fewer if the end of input occurs before that).
bitstring_of_string [Bitmatch]
bitstring_of_string str creates a bitstring of length String.length str * 8 (bits) containing the bits in str.
bitstring_to_chan [Bitmatch]
bitstring_to_file bits filename writes the bitstring bits to the channel chan.
bitstring_to_file [Bitmatch]
bitstring_to_file bits filename writes the bitstring bits to the file filename.

C
contents [Bitmatch.Buffer]
create [Bitmatch.Buffer]
create_bitstring [Bitmatch]
create_bitstring n creates an n bit bitstring containing all zeroes.

D
debug [Bitmatch]
Set this variable to true to enable extended debugging.

E
empty_bitstring [Bitmatch]
empty_bitstring is the empty, zero-length bitstring.

H
hexdump_bitstring [Bitmatch]
hexdump_bitstring chan bitstring prints the bitstring to the output channel in a format similar to the Unix command hexdump -C.

M
make_bitstring [Bitmatch]
make_bitstring n c creates an n bit bitstring containing the repeated 8 bit pattern in c.

P
package [Bitmatch]
The package name, always "ocaml-bitmatch"

S
string_of_bitstring [Bitmatch]
string_of_bitstring bitstring converts a bitstring to a string (eg.
string_of_endian [Bitmatch]
Endianness.

V
version [Bitmatch]
The package version as a string.