BSONIterator
in package
implements
Iterator
Iterator for BSON documents.
Tags
Table of Contents
Interfaces
- Iterator
Constants
- BSON_SIZE = 4
Properties
- $buffer : string
- $bufferLength : int
- $current : array<string|int, mixed>|object|null
- $key : int
- $options : array<string|int, mixed>
- $position : int
Methods
Constants
BSON_SIZE
private
mixed
BSON_SIZE
= 4
Properties
$buffer
private
string
$buffer
$bufferLength
private
int
$bufferLength
$current
private
array<string|int, mixed>|object|null
$current
= null
$key
private
int
$key
= 0
$options
private
array<string|int, mixed>
$options
= []
$position
private
int
$position
= 0
Methods
current()
public
current() : mixed
Tags
key()
public
key() : int
Tags
Return values
intnext()
public
next() : void
Tags
rewind()
public
rewind() : void
Tags
valid()
public
valid() : bool
Tags
Return values
booladvance()
private
advance() : void