public interface ReadCodec
| 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.
|
Reads.ReadEntry.Builder encode(Reads.ReadEntry.Builder source)
source - The read to encode/compress.Reads.ReadEntry.Builder decode(Reads.ReadEntry source)
source - The read to decode (must contain the field compressed_data)String name()
byte registrationCode()
void newChunk()
Copyright © 2017 Campagne Laboratory. All rights reserved.