public BinaryBuffer(IBinaryBufferPool pool, byte[] buffer, Stream stream) { Size = buffer.Length; Stream = stream; _pool = pool; Position = 0; Buffer = buffer; }
public BinaryWriteBuffer(IBinaryBufferPool pool, byte[] buffer, Stream stream) : base(pool, buffer, stream) { _reservations = new List <BinaryBufferReservation>(); }
public JsonSerializer(IBinaryBufferPool bufferPool) { _bufferPool = bufferPool; _engine = new SerializationEngine(Travellers); }
public BinaryReadBuffer(IBinaryBufferPool poolHandle, byte[] buffer, Stream stream) : base(poolHandle, buffer, stream) { RefillBuffer(); }