Package com.mku.salmon.sequence
Interface INonceSequenceSerializer
- All Known Implementing Classes:
AndroidSequenceSerializer,SequenceSerializer
public interface INonceSequenceSerializer
Serializes/Deserializes nonce sequences.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(String contents) Deserialize sequences from a string.serialize(HashMap<String, NonceSequence> sequences) Serialize the sequences to a string.
-
Method Details
-
deserialize
Deserialize sequences from a string.- Parameters:
contents- The contents containing the nonce sequences.- Returns:
- The deserialized sequences
- Throws:
SequenceException- Thrown if there is an error with the nonce sequence
-
serialize
Serialize the sequences to a string.- Parameters:
sequences- The sequences to convert to text.- Returns:
- The serialized contents
- Throws:
SequenceException- Thrown if there is an error with the nonce sequence
-