Пример #1
0
 protected static void WriteInt32(ref Byte[] buffer,
                                  Int32 value,
                                  ref Int32 currentPosition)
 {
     BsonSerializer.EnsureBufferSize(ref buffer, currentPosition, sizeof (Int32));
     buffer.AppendInt32(value, ref currentPosition);
 }