Package org.bson

Class BsonBinaryWriter.Mark

java.lang.Object
org.bson.AbstractBsonWriter.Mark
org.bson.BsonBinaryWriter.Mark
Enclosing class:
BsonBinaryWriter

protected class BsonBinaryWriter.Mark extends AbstractBsonWriter.Mark
An implementation of AbstractBsonWriter.Mark.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a new instance storing the current position of the BsonOutput.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Resets the AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was created.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Mark

      protected Mark()
      Creates a new instance storing the current position of the BsonOutput.
  • Method Details

    • reset

      protected void reset()
      Description copied from class: AbstractBsonWriter.Mark
      Resets the AbstractBsonWriter instance that contains this Mark to the state the writer was in when the Mark was created.
      Overrides:
      reset in class AbstractBsonWriter.Mark