Package org.apache.hadoop.hbase.util
Class ByteBufferUtils.ConverterHolder.UnsafeConverter
java.lang.Object
org.apache.hadoop.hbase.util.ByteBufferUtils.Converter
org.apache.hadoop.hbase.util.ByteBufferUtils.ConverterHolder.UnsafeConverter
- Enclosing class:
- ByteBufferUtils.ConverterHolder
static final class ByteBufferUtils.ConverterHolder.UnsafeConverter
extends ByteBufferUtils.Converter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
putInt
(ByteBuffer buffer, int val) (package private) int
putInt
(ByteBuffer buffer, int index, int val) (package private) int
putLong
(ByteBuffer buffer, int index, long val) (package private) void
putLong
(ByteBuffer buffer, long val) (package private) int
putShort
(ByteBuffer buffer, int index, short val) (package private) void
putShort
(ByteBuffer buffer, short val) (package private) int
toInt
(ByteBuffer buffer) (package private) int
toInt
(ByteBuffer buffer, int offset) (package private) long
toLong
(ByteBuffer buffer, int offset) (package private) short
toShort
(ByteBuffer buffer, int offset)
-
Constructor Details
-
UnsafeConverter
public UnsafeConverter()
-
-
Method Details
-
toShort
- Specified by:
toShort
in classByteBufferUtils.Converter
-
toInt
- Specified by:
toInt
in classByteBufferUtils.Converter
-
toInt
- Specified by:
toInt
in classByteBufferUtils.Converter
-
toLong
- Specified by:
toLong
in classByteBufferUtils.Converter
-
putInt
- Specified by:
putInt
in classByteBufferUtils.Converter
-
putInt
- Specified by:
putInt
in classByteBufferUtils.Converter
-
putShort
- Specified by:
putShort
in classByteBufferUtils.Converter
-
putShort
- Specified by:
putShort
in classByteBufferUtils.Converter
-
putLong
- Specified by:
putLong
in classByteBufferUtils.Converter
-
putLong
- Specified by:
putLong
in classByteBufferUtils.Converter
-