public Binary(Memory.BufferPool buffers) { this.buffers = buffers ?? new Memory.BufferPool(); }
/// <summary> /// Create a new buffer. /// </summary> /// <remarks>This is the shared constructors code. This constructor should never be called by itself.</remarks> /// <param name="manager">The associated buffer pool.</param> /// <param name="min_size">The minimal size of the buffer.</param> /// <param name="context">The associated context.</param> protected Buffer(Memory.BufferPool manager, uint min_size, SerializationBufferContext context) : base(manager, context, min_size) { }
public Binary() { buffers = new Memory.BufferPool(); }