Gets the most recently read name.
Reads BSON Binary data from the reader.
byte peekBinarySubType()
Peeks the subtype of the binary data that the reader is positioned at. This operation is not permitted if the mark is already set.
int peekBinarySize()
Peeks the size of the binary data that the reader is positioned at. This operation is not permitted if the mark is already set.
Reads a BSON Binary data element from the reader.
name
- The name of the element.
boolean readBoolean()
Reads a BSON Boolean from the reader.
Reads a BSON Boolean element from the reader.
name
- The name of the element.
Reads a BSONType from the reader.
long readDateTime()
Reads a BSON DateTime from the reader.
Reads a BSON DateTime element from the reader.
name
- The name of the element.
double readDouble()
Reads a BSON Double from the reader.
Reads a BSON Double element from the reader.
name
- The name of the element.
void readEndArray()
Reads the end of a BSON array from the reader.
void readEndDocument()
Reads the end of a BSON document from the reader.
int readInt32()
Reads a BSON Int32 from the reader.
Reads a BSON Int32 element from the reader.
name
- The name of the element.
long readInt64()
Reads a BSON Int64 from the reader.
Reads a BSON Int64 element from the reader.
name
- The name of the element.
Reads a BSON Decimal128 from the reader.
Reads a BSON Decimal128 element from the reader.
name
- The name of the element.
Reads a BSON JavaScript from the reader.
Reads a BSON JavaScript element from the reader.
name
- The name of the element.
()
Reads a BSON JavaScript with scope from the reader (call readStartDocument next to read the scope).
Reads a BSON JavaScript with scope element from the reader (call readStartDocument next to read the scope).
name
- The name of the element.
void readMaxKey()
Reads a BSON MaxKey from the reader.
Reads a BSON MaxKey element from the reader.
name
- The name of the element.
void readMinKey()
Reads a BSON MinKey from the reader.
Reads a BSON MinKey element from the reader.
name
- The name of the element.
Reads the name of an element from the reader.
Reads the name of an element from the reader.
name
- The name of the element.
void readNull()
Reads a BSON null from the reader.
Reads a BSON null element from the reader.
name
- The name of the element.
Reads a BSON ObjectId from the reader.
ObjectId
value
Reads a BSON ObjectId element from the reader.
name
- The name of the element.
Reads a BSON regular expression from the reader.
Reads a BSON regular expression element from the reader.
name
- The name of the element.
Reads a BSON DBPointer from the reader.
Reads a BSON DBPointer element from the reader.
name
- The name of the element.
void readStartArray()
Reads the start of a BSON array.
void readStartDocument()
Reads the start of a BSON document.
Reads a BSON String from the reader.
Reads a BSON string element from the reader.
name
- The name of the element.
Reads a BSON symbol from the reader.
Reads a BSON symbol element from the reader.
name
- The name of the element.
Reads a BSON timestamp from the reader.
Reads a BSON timestamp element from the reader.
name
- The name of the element.
void readUndefined()
Reads a BSON undefined from the reader.
Reads a BSON undefined element from the reader.
name
- The name of the element.
void skipName()
Skips the name (reader must be positioned on a name).
void skipValue()
Skips the value (reader must be positioned on a value).
Gets a mark representing the current state of the reader.
void close()
close
in interface AutoCloseable
close
in interface Closeable
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4