public class Encoding extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
CR |
static char |
LF |
static byte[] |
NEG_ONE |
static byte[] |
NEG_ONE_WITH_CRLF |
| Constructor and Description |
|---|
Encoding() |
| Modifier and Type | Method and Description |
|---|---|
static long |
bytesToNum(byte[] bytes)
Reads a number from a byte array.
|
static byte[] |
numToBytes(long value) |
static byte[] |
numToBytes(long value,
boolean withCRLF) |
public static final byte[] NEG_ONE
public static final byte[] NEG_ONE_WITH_CRLF
public static final char LF
public static final char CR
Copyright © 2013. All Rights Reserved.