protected static final class Bytes.ConverterHolder.PureJavaConverter extends Bytes.Converter
Modifier and Type | Field and Description |
---|---|
(package private) static Bytes.ConverterHolder.PureJavaConverter |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
PureJavaConverter() |
Modifier and Type | Method and Description |
---|---|
(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) |
static final Bytes.ConverterHolder.PureJavaConverter INSTANCE
private PureJavaConverter()
long toLong(byte[] bytes, int offset, int length)
toLong
in class Bytes.Converter
int putLong(byte[] bytes, int offset, long val)
putLong
in class Bytes.Converter
int toInt(byte[] bytes, int offset, int length)
toInt
in class Bytes.Converter
int putInt(byte[] bytes, int offset, int val)
putInt
in class Bytes.Converter
short toShort(byte[] bytes, int offset, int length)
toShort
in class Bytes.Converter
int putShort(byte[] bytes, int offset, short val)
putShort
in class Bytes.Converter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.