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
-
Method Summary
Modifier and TypeMethodDescription(package private) int
putInt
(byte[] bytes, int offset, int val) (package private) int
putLong
(byte[] bytes, int offset, long val) (package private) int
putShort
(byte[] bytes, int offset, short val) (package private) int
toInt
(byte[] bytes, int offset, int length) (package private) long
toLong
(byte[] bytes, int offset, int length) (package private) short
toShort
(byte[] bytes, int offset, int length)
-
Constructor Details
-
UnsafeConverter
public UnsafeConverter()
-
-
Method Details
-
toLong
- Specified by:
toLong
in classBytes.Converter
-
putLong
- Specified by:
putLong
in classBytes.Converter
-
toInt
- Specified by:
toInt
in classBytes.Converter
-
putInt
- Specified by:
putInt
in classBytes.Converter
-
toShort
- Specified by:
toShort
in classBytes.Converter
-
putShort
- Specified by:
putShort
in classBytes.Converter
-