public class HuffmanCoding extends Object
Modifier and Type | Method and Description |
---|---|
String |
from(Buffer source) |
static HuffmanCoding |
getInstance() |
int |
lengthOf(byte[] value,
int off,
int len) |
int |
lengthOf(String value) |
void |
to(OutputStream destination,
byte[] value,
int off,
int len) |
void |
to(OutputStream destination,
String value) |
public static HuffmanCoding getInstance()
public int lengthOf(byte[] value, int off, int len)
public int lengthOf(String value)
public void to(OutputStream destination, byte[] value, int off, int len) throws IOException
IOException
public void to(OutputStream destination, String value) throws IOException
IOException
Copyright © 2018 Oracle Corporation. All rights reserved.