示例#1
0
        public static void AddInt(byte[] array, ref int bitPos, CompressedByte compressed)
        {
            var value     = compressed.Value;
            int bitsCount = compressed.Length;

            AddInt(array, ref bitPos, compressed.Value, compressed.Length);
        }
示例#2
0
        /*#Ignore*/

        public static void AddIntReversed(byte[] array, ref int bitPos, CompressedByte compressed)
        {
            AddInt(array, ref bitPos, new CompressedByte
            {
                Value  = ReverseBits(compressed.Value, compressed.Length),
                Length = compressed.Length
            });
        }
示例#3
0
 /*#Ignore*/
 public static void AddIntReversed(byte[] array, ref int bitPos, CompressedByte compressed)
 {
     AddInt(array, ref bitPos, new CompressedByte
     {
         Value = ReverseBits(compressed.Value, compressed.Length),
         Length = compressed.Length
     });
 }
示例#4
0
 public CompressedByte(CompressedByte CompressByte)
 {
     Value = CompressByte.Value;
     Length = CompressByte.Length;
 }
示例#5
0
 public CompressedByte(CompressedByte CompressByte)
 {
     Value  = CompressByte.Value;
     Length = CompressByte.Length;
 }
示例#6
0
 public static void AddInt(byte[] array, ref int bitPos, CompressedByte compressed)
 {
     var value = compressed.Value;
     int bitsCount = compressed.Length;
     AddInt(array, ref bitPos, compressed.Value, compressed.Length);
 }