ReadUncompressedLength() public method

public ReadUncompressedLength ( byte data, int offset ) : int[]
data byte
offset int
return int[]
Example #1
0
 public static int GetUncompressedLength(byte[] compressed, int offset = 0)
 {
     var decompressor = new SnappyDecompressor();
     return decompressor.ReadUncompressedLength(compressed, offset)[0];
 }
Example #2
0
        public static int GetUncompressedLength(byte[] compressed, int offset = 0)
        {
            var decompressor = new SnappyDecompressor();

            return(decompressor.ReadUncompressedLength(compressed, offset)[0]);
        }
Example #3
0
 public static int GetUncompressedLength(byte[] compressed, int offset = 0)
 {
     return(decompressor.ReadUncompressedLength(compressed, offset)[0]);
 }