public class KeyEncodeHelper extends Object
| Constructor and Description |
|---|
KeyEncodeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
encodeBigInt(OutputStream s,
BigInteger v) |
static byte[] |
encodeInt(OutputStream s,
int v) |
static int |
encodeString(OutputStream s,
String v,
Charset cs) |
static int |
writeRLEBytes(OutputStream s,
byte[] bytes,
int off,
int len) |
public static int encodeBigInt(OutputStream s, BigInteger v) throws IOException
IOExceptionpublic static byte[] encodeInt(OutputStream s, int v) throws IOException
IOExceptionpublic static int encodeString(OutputStream s, String v, Charset cs) throws IOException
IOExceptionpublic static int writeRLEBytes(OutputStream s, byte[] bytes, int off, int len) throws IOException
IOExceptionCopyright © 2016–2020. All rights reserved.