public class ByteLong extends Object
| Constructor and Description |
|---|
ByteLong() |
| Modifier and Type | Method and Description |
|---|---|
static long |
GetUInt64(byte[] b,
int i)
Creates a long from 8 bytes.
|
static void |
PutBytes(long[] input,
byte[] output,
int offset,
int byteCount)
Disassmble an array of Long into a byte array.
|
public static long GetUInt64(byte[] b,
int i)
long is in little endian order.b - The array that contains the bytes to combine.i - The offset into the byte array where the data starts.public static void PutBytes(long[] input,
byte[] output,
int offset,
int byteCount)
input - The long input array.output - The byte output array.offset - The offset into the output array.byteCount - The number of bytes to disassemble.Copyright © 2015. All rights reserved.