public class NodewalkerCodec extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
NodewalkerCodec.Decoder |
protected class |
NodewalkerCodec.Encoder |
| Modifier and Type | Field and Description |
|---|---|
static char |
END_OF_STRING |
static Character |
ESCAPE |
static char |
FALLBACK |
protected CharTrie |
inner |
protected PrintStream |
verbose |
| Modifier and Type | Method and Description |
|---|---|
String |
decodePPM(byte[] data,
int context) |
Bits |
encodePPM(String text,
int context) |
protected boolean |
readBackup(NodewalkerCodec.Decoder decoder) |
protected void |
readForward(NodewalkerCodec.Decoder decoder) |
NodewalkerCodec |
setVerbose(PrintStream verbose) |
protected Optional<TrieNode> |
writeBackup(NodewalkerCodec.Encoder encoder,
char token) |
protected void |
writeForward(NodewalkerCodec.Encoder encoder) |
protected void |
writeTerminal(NodewalkerCodec.Encoder encoder) |
public static final Character ESCAPE
public static final char FALLBACK
public static final char END_OF_STRING
protected final CharTrie inner
protected PrintStream verbose
public String decodePPM(byte[] data, int context)
public NodewalkerCodec setVerbose(PrintStream verbose)
protected void writeForward(NodewalkerCodec.Encoder encoder) throws IOException
IOExceptionprotected void readForward(NodewalkerCodec.Decoder decoder) throws IOException
IOExceptionprotected Optional<TrieNode> writeBackup(NodewalkerCodec.Encoder encoder, char token) throws IOException
IOExceptionprotected boolean readBackup(NodewalkerCodec.Decoder decoder) throws IOException
IOExceptionprotected void writeTerminal(NodewalkerCodec.Encoder encoder) throws IOException
IOExceptionCopyright © 2017 SimiaCryptus Software. All rights reserved.