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
IOException
public static byte[] encodeInt(OutputStream s, int v) throws IOException
IOException
public static int encodeString(OutputStream s, String v, Charset cs) throws IOException
IOException
public static int writeRLEBytes(OutputStream s, byte[] bytes, int off, int len) throws IOException
IOException
Copyright © 2016–2020. All rights reserved.