BitstreamReader

@brief Bitstream reader and parser

@copyright The code is borrowed from h264bitstream library and translated to D

Constructors

this
this(ubyte[] data)
Undocumented in source.

Members

Aliases

skip
alias skip = skip_u
Undocumented in source.

Functions

align_to_next_byte
void align_to_next_byte()
Undocumented in source. Be warned that the author may not have intended to support it.
bits_read
size_t bits_read()
Undocumented in source. Be warned that the author may not have intended to support it.
eof
bool eof()
Undocumented in source. Be warned that the author may not have intended to support it.
is_byte_aligned
bool is_byte_aligned()
Undocumented in source. Be warned that the author may not have intended to support it.
next_bytes
uint64 next_bytes(int nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.
nextbits
uint nextbits(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
peek_u1
uint32 peek_u1()
Undocumented in source. Be warned that the author may not have intended to support it.
read_b
ubyte read_b(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
read_bool
bool read_bool()
Undocumented in source. Be warned that the author may not have intended to support it.
read_bytes
const(ubyte)[] read_bytes(long len)
Undocumented in source. Be warned that the author may not have intended to support it.
read_bytes
long read_bytes(ubyte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
read_f
uint32 read_f(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
read_se
int32 read_se()
Undocumented in source. Be warned that the author may not have intended to support it.
read_u
T read_u(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
read_u1
ubyte read_u1()
Undocumented in source. Be warned that the author may not have intended to support it.
read_u8
ubyte read_u8()
Undocumented in source. Be warned that the author may not have intended to support it.
read_ue
uint32 read_ue()
Undocumented in source. Be warned that the author may not have intended to support it.
skip_bytes
long skip_bytes(long len)
Undocumented in source. Be warned that the author may not have intended to support it.
skip_u
void skip_u(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
skip_u1
void skip_u1()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta