def to_bson(buffer = ByteBuffer.new, validating_keys = Config.validating_keys?)
      buffer.put_int32(increment)
      buffer.put_int32(seconds)
    end
def to_bson(buffer = ByteBuffer.new, validating_keys = Config.validating_keys?)
      buffer.put_int32(increment)
      buffer.put_int32(seconds)
    end
Instantiate the new timestamp.

 @example Instantiate the timestamp.
   BSON::Timestamp.new(5, 30)

 @param [ Integer ] seconds The number of seconds.
 @param [ Integer ] increment The increment value.

 @since 2.0.0
 Get the timestamp as its encoded raw BSON bytes.

 @example Get the timestamp as BSON.
   timestamp.to_bson

 @return [ BSON::ByteBuffer ] The buffer with the encoded object.

 @see http://bsonspec.org/#/specification

 @since 2.0.0