Package com.yahoo.compress
Class IntegerCompressor
- java.lang.Object
-
- com.yahoo.compress.IntegerCompressor
-
public class IntegerCompressor extends Object
Utility for bytewise compressing of integers into a ByteBuffer.- Author:
- baldersheim
-
-
Constructor Summary
Constructors Constructor Description IntegerCompressor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
putCompressedNumber(int n, ByteBuffer buf)
static void
putCompressedPositiveNumber(int n, ByteBuffer buf)
-
-
-
Method Detail
-
putCompressedNumber
public static void putCompressedNumber(int n, ByteBuffer buf)
-
putCompressedPositiveNumber
public static void putCompressedPositiveNumber(int n, ByteBuffer buf)
-
-