MongoDB.Bson.IO.BsonBinaryWriter.WriteTimestamp C# (CSharp) Метод

WriteTimestamp() публичный Метод

Writes a BSON timestamp to the writer.
public WriteTimestamp ( long value ) : void
value long The combined timestamp/increment value.
Результат void
        public override void WriteTimestamp(long value)
        {
            if (Disposed) { throw new ObjectDisposedException("BsonBinaryWriter"); }
            if (State != BsonWriterState.Value)
            {
                ThrowInvalidState("WriteTimestamp", BsonWriterState.Value);
            }

            _buffer.WriteByte((byte)BsonType.Timestamp);
            WriteNameHelper();
            _buffer.WriteInt64(value);

            State = GetNextState();
        }