Gst
Bit
Reader
constructor
bit
byte
data
size
name
free
get
Bits
Uint16
get
Bits
Uint32
get
Bits
Uint64
get
Bits
Uint8
get
Pos
get
Remaining
get
Size
init
init
From
Buffer
peek
Bits
Uint16
peek
Bits
Uint32
peek
Bits
Uint64
peek
Bits
Uint8
set
Pos
skip
skip
To
Byte
new
new
From
Buffer
NODE-GTK API Reference
GstBase-0.10
GstBase
GstBitReader
Class GstBitReader
A bit reader instance.
record
Hierarchy
GstBitReader
Index
Constructors
constructor
Properties
bit
byte
data
size
name
Methods
free
get
Bits
Uint16
get
Bits
Uint32
get
Bits
Uint64
get
Bits
Uint8
get
Pos
get
Remaining
get
Size
init
init
From
Buffer
peek
Bits
Uint16
peek
Bits
Uint32
peek
Bits
Uint64
peek
Bits
Uint8
set
Pos
skip
skip
To
Byte
new
new
From
Buffer
Constructors
constructor
new
Gst
Bit
Reader
(
data
:
any
[]
, size
:
number
)
:
GstBitReader
Parameters
data:
any
[]
size:
number
Returns
GstBitReader
Properties
bit
bit
:
number
byte
byte
:
number
data
data
:
number
size
size
:
number
Static
name
name
:
string
Methods
free
free
(
)
:
void
Returns
void
get
Bits
Uint16
get
Bits
Uint16
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
get
Bits
Uint32
get
Bits
Uint32
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
get
Bits
Uint64
get
Bits
Uint64
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
get
Bits
Uint8
get
Bits
Uint8
(
val
:
any
[]
, nbits
:
number
)
:
boolean
Parameters
val:
any
[]
nbits:
number
Returns
boolean
get
Pos
get
Pos
(
)
:
number
Returns
number
get
Remaining
get
Remaining
(
)
:
number
Returns
number
get
Size
get
Size
(
)
:
number
Returns
number
init
init
(
data
:
any
[]
, size
:
number
)
:
void
Parameters
data:
any
[]
size:
number
Returns
void
init
From
Buffer
init
From
Buffer
(
buffer
:
Gst
.
Buffer
)
:
void
Parameters
buffer:
Gst
.
Buffer
Returns
void
peek
Bits
Uint16
peek
Bits
Uint16
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
peek
Bits
Uint32
peek
Bits
Uint32
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
peek
Bits
Uint64
peek
Bits
Uint64
(
nbits
:
number
)
:
[
boolean
,
number
]
Parameters
nbits:
number
Returns
[
boolean
,
number
]
peek
Bits
Uint8
peek
Bits
Uint8
(
val
:
any
[]
, nbits
:
number
)
:
boolean
Parameters
val:
any
[]
nbits:
number
Returns
boolean
set
Pos
set
Pos
(
pos
:
number
)
:
boolean
Parameters
pos:
number
Returns
boolean
skip
skip
(
nbits
:
number
)
:
boolean
Parameters
nbits:
number
Returns
boolean
skip
To
Byte
skip
To
Byte
(
)
:
boolean
Returns
boolean
Static
new
new
(
data
:
any
[]
, size
:
number
)
:
GstBitReader
Parameters
data:
any
[]
size:
number
Returns
GstBitReader
Static
new
From
Buffer
new
From
Buffer
(
buffer
:
Gst
.
Buffer
)
:
GstBitReader
Parameters
buffer:
Gst
.
Buffer
Returns
GstBitReader
Gst
Bit
Reader
constructor
bit
byte
data
size
name
free
get
Bits
Uint16
get
Bits
Uint32
get
Bits
Uint64
get
Bits
Uint8
get
Pos
get
Remaining
get
Size
init
init
From
Buffer
peek
Bits
Uint16
peek
Bits
Uint32
peek
Bits
Uint64
peek
Bits
Uint8
set
Pos
skip
skip
To
Byte
new
new
From
Buffer
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RCYXNlXzBfMTAuR3N0QmFzZS5Hc3RCaXRSZWFkZXIuaHRtbCNjb25zdHJ1Y3RvciIsIm5hb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