Package org.bson
Class BsonBinaryWriter.Mark
java.lang.Object
org.bson.AbstractBsonWriter.Mark
org.bson.BsonBinaryWriter.Mark
- Enclosing class:
- BsonBinaryWriter
An implementation of
AbstractBsonWriter.Mark
.-
Constructor Summary
ModifierConstructorDescriptionprotected
Mark()
Creates a new instance storing the current position of theBsonOutput
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
reset()
Resets theAbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created.
-
Constructor Details
-
Mark
protected Mark()Creates a new instance storing the current position of theBsonOutput
.
-
-
Method Details
-
reset
protected void reset()Description copied from class:AbstractBsonWriter.Mark
Resets theAbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created.- Overrides:
reset
in classAbstractBsonWriter.Mark
-