public class BytesUtils extends Object
Constructor and Description |
---|
BytesUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getInt(byte[] bytes,
int offset) |
static long |
getLong(byte[] bytes,
int offset) |
static short |
getShort(byte[] bytes,
int offset) |
static byte[] |
readBinary(byte[] bytes,
int baseOffset,
int fieldOffset,
long variablePartOffsetAndLen) |
public static int getInt(byte[] bytes, int offset)
public static short getShort(byte[] bytes, int offset)
public static long getLong(byte[] bytes, int offset)
public static byte[] readBinary(byte[] bytes, int baseOffset, int fieldOffset, long variablePartOffsetAndLen)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.