public class PPMCodec extends Object
Modifier and Type | Field and Description |
---|---|
static char |
END_OF_STRING
The constant END_OF_STRING.
|
static Character |
ESCAPE
The constant ESCAPE.
|
static char |
FALLBACK
The constant FALLBACK.
|
boolean |
verbose
The Verbose.
|
Modifier and Type | Method and Description |
---|---|
PPMCodec |
copy()
Copy ppm codec.
|
CharSequence |
decodePPM(byte[] data,
int context)
Decode ppm string.
|
Bits |
encodePPM(String text,
int context)
Encode ppm bits.
|
int |
getMemorySize()
Gets memory size.
|
public static final Character ESCAPE
public static final char FALLBACK
public static final char END_OF_STRING
public boolean verbose
public CharSequence decodePPM(byte[] data, int context)
data
- the datacontext
- the contextpublic Bits encodePPM(String text, int context)
text
- the textcontext
- the contextpublic int getMemorySize()
public PPMCodec copy()
Copyright © 2019 SimiaCryptus Software. All rights reserved.