public RawOutputStream(byte[] buffer, int bufferOffset, NetworkCompressionCapture capture) { m_Buffer = buffer; m_BufferOffset = bufferOffset; m_CurrentByteIndex = bufferOffset; m_Capture = capture; }
public HuffmanOutputStream(NetworkCompressionModel model, byte[] buffer, int bufferOffset, NetworkCompressionCapture capture) { m_Model = model; m_Buffer = buffer; m_BufferOffset = bufferOffset; m_CurrentBitIndex = 0; m_CurrentByteIndex = bufferOffset; m_BitBuffer = 0; m_Capture = capture; }
public void Initialize(NetworkCompressionModel model, byte[] buffer, int bufferOffset, NetworkCompressionCapture capture) { this = new RawOutputStream(buffer, bufferOffset, capture); }
public RansOutputStream(byte[] buffer, int bufferOffset, NetworkCompressionCapture capture) { m_Entries = new List <uint>(); m_Buffer = buffer; m_BufferOffset = bufferOffset; }