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
ConstructorsModifierConstructorDescriptionprotectedMark()Creates a new instance storing the current position of theBsonOutput. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreset()Resets theAbstractBsonWriterinstance that contains thisMarkto 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.MarkResets theAbstractBsonWriterinstance that contains thisMarkto the state the writer was in when the Mark was created.- Overrides:
resetin classAbstractBsonWriter.Mark
-