protected static final class Bytes.ConverterHolder.UnsafeConverter extends Bytes.Converter
Constructor and Description |
---|
UnsafeConverter() |
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) |
public UnsafeConverter()
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.