static final class ByteBufferUtils.ConverterHolder.UnsafeConverter extends ByteBufferUtils.Converter
Constructor and Description |
---|
UnsafeConverter() |
Modifier and Type | Method and Description |
---|---|
(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) |
public UnsafeConverter()
short toShort(ByteBuffer buffer, int offset)
toShort
in class ByteBufferUtils.Converter
int toInt(ByteBuffer buffer)
toInt
in class ByteBufferUtils.Converter
int toInt(ByteBuffer buffer, int offset)
toInt
in class ByteBufferUtils.Converter
long toLong(ByteBuffer buffer, int offset)
toLong
in class ByteBufferUtils.Converter
void putInt(ByteBuffer buffer, int val)
putInt
in class ByteBufferUtils.Converter
int putInt(ByteBuffer buffer, int index, int val)
putInt
in class ByteBufferUtils.Converter
void putShort(ByteBuffer buffer, short val)
putShort
in class ByteBufferUtils.Converter
int putShort(ByteBuffer buffer, int index, short val)
putShort
in class ByteBufferUtils.Converter
void putLong(ByteBuffer buffer, long val)
putLong
in class ByteBufferUtils.Converter
int putLong(ByteBuffer buffer, int index, long val)
putLong
in class ByteBufferUtils.Converter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.