
public class MessagePackSerialization extends Object implements MmtfStructureSerializationInterface
MmtfStructure serializer / deserializer.| Constructor and Description |
|---|
MessagePackSerialization()
Constructor for the
MessagePackSerialization class. |
| Modifier and Type | Method and Description |
|---|---|
MmtfStructure |
deserialize(InputStream inputStream)
Deserialize an
MmtfStructure from an input stream. |
void |
serialize(MmtfStructure mmtfStructure,
OutputStream outputStream)
Serialize an
MmtfStructure to a generic output stream. |
public MessagePackSerialization()
MessagePackSerialization class.
Generates ObjectMapper and sets to include non-null.public MmtfStructure deserialize(InputStream inputStream)
MmtfStructureSerializationInterfaceMmtfStructure from an input stream.deserialize in interface MmtfStructureSerializationInterfaceinputStream - the inputstream to deserializepublic void serialize(MmtfStructure mmtfStructure, OutputStream outputStream)
MmtfStructureSerializationInterfaceMmtfStructure to a generic output stream.serialize in interface MmtfStructureSerializationInterfacemmtfStructure - the compressed dataoutputStream - the output stream to write toCopyright © 2015–2016 RCSB PDB. All rights reserved.