Package org.apache.hadoop.hbase.util
Class Bytes.ConverterHolder.UnsafeConverter
java.lang.Object
org.apache.hadoop.hbase.util.Bytes.Converter
org.apache.hadoop.hbase.util.Bytes.ConverterHolder.UnsafeConverter
- Enclosing class:
- Bytes.ConverterHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intputInt(byte[] bytes, int offset, int val) (package private) intputLong(byte[] bytes, int offset, long val) (package private) intputShort(byte[] bytes, int offset, short val) (package private) inttoInt(byte[] bytes, int offset, int length) (package private) longtoLong(byte[] bytes, int offset, int length) (package private) shorttoShort(byte[] bytes, int offset, int length)
-
Constructor Details
-
UnsafeConverter
public UnsafeConverter()
-
-
Method Details
-
toLong
- Specified by:
toLongin classBytes.Converter
-
putLong
- Specified by:
putLongin classBytes.Converter
-
toInt
- Specified by:
toIntin classBytes.Converter
-
putInt
- Specified by:
putIntin classBytes.Converter
-
toShort
- Specified by:
toShortin classBytes.Converter
-
putShort
- Specified by:
putShortin classBytes.Converter
-