示例#1
0
 public RawOutputStream(byte[] buffer, int bufferOffset, NetworkCompressionCapture capture)
 {
     m_Buffer           = buffer;
     m_BufferOffset     = bufferOffset;
     m_CurrentByteIndex = bufferOffset;
     m_Capture          = capture;
 }
示例#2
0
 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;
 }
示例#3
0
 public void Initialize(NetworkCompressionModel model, byte[] buffer, int bufferOffset, NetworkCompressionCapture capture)
 {
     this = new RawOutputStream(buffer, bufferOffset, capture);
 }
示例#4
0
 public RansOutputStream(byte[] buffer, int bufferOffset, NetworkCompressionCapture capture)
 {
     m_Entries      = new List <uint>();
     m_Buffer       = buffer;
     m_BufferOffset = bufferOffset;
 }