Preparing search index...
The search index is not available
@foxglove/rosbag
@foxglove/rosbag
@foxglove/rosbag
Bag
Class Bag
Hierarchy
Bag
Index
Constructors
constructor
Properties
bag
Opt
chunk
Infos
connections
end
Time?
header?
reader
start
Time?
Methods
message
Iterator
open
read
Messages
Constructors
constructor
new
Bag
(
filelike
:
Filelike
, opt
?:
BagOpt
)
:
Bag
Parameters
filelike:
Filelike
Optional
opt:
BagOpt
Returns
Bag
Properties
Private
bag
Opt
bag
Opt
:
BagOpt
chunk
Infos
chunk
Infos
:
ChunkInfo
[]
= []
connections
connections
:
Map
<
number
,
Connection
>
Optional
end
Time
end
Time
?:
Time
Optional
header
header
?:
BagHeader
reader
reader
:
default
Optional
start
Time
start
Time
?:
Time
Methods
message
Iterator
message
Iterator
(
opt
?:
MessageIteratorOpt
)
:
MessageIterator
Parameters
Optional
opt:
MessageIteratorOpt
Returns
MessageIterator
open
open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
read
Messages
read
Messages
<
T
>
(
opts
:
ReadOptions
, callback
:
(
(
msg
:
default
<
T
>
)
=>
void
)
)
:
Promise
<
void
>
Deprecated
Prefer the messageIterator method instead.
Type Parameters
T =
unknown
Parameters
opts:
ReadOptions
callback:
(
(
msg
:
default
<
T
>
)
=>
void
)
(
msg
:
default
<
T
>
)
:
void
Parameters
msg:
default
<
T
>
Returns
void
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@foxglove/rosbag
@foxglove/rosbag
@foxglove/rosbag/node
@foxglove/rosbag/web
Bag
constructor
bag
Opt
chunk
Infos
connections
end
Time?
header?
reader
start
Time?
message
Iterator
open
read
Messages
Generated using
TypeDoc
Deprecated
Prefer the messageIterator method instead.