public class ReadCodecImpl extends Object implements ReadCodec
| Modifier and Type | Field and Description |
|---|---|
static int |
CODEC_REGISTRATION_CODE |
| Constructor and Description |
|---|
ReadCodecImpl() |
| Modifier and Type | Method and Description |
|---|---|
Reads.ReadEntry.Builder |
decode(Reads.ReadEntry source)
Decode the compressed data of a read.
|
Reads.ReadEntry.Builder |
encode(Reads.ReadEntry.Builder source)
Encode a read into compressed form.
|
String |
name()
Return the name of this codec.
|
void |
newChunk()
This method is called when a new chunk of data is started.
|
byte |
registrationCode()
Return the registration code of this codec, a byte that uniquely identifies this codec.
|
public static final int CODEC_REGISTRATION_CODE
public String name()
ReadCodecpublic byte registrationCode()
ReadCodecregistrationCode in interface ReadCodecpublic Reads.ReadEntry.Builder encode(Reads.ReadEntry.Builder source)
ReadCodecpublic Reads.ReadEntry.Builder decode(Reads.ReadEntry source)
ReadCodecCopyright © 2017 Campagne Laboratory. All rights reserved.