Constructor
new SequenceSerializer()
Classes
Methods
deserialize(contents) → {Map.<string, NonceSequence>}
Deserialize sequences from json string.
Parameters:
Name | Type | Description |
---|---|---|
contents |
string | The contents containing the nonce sequences. |
Throws:
SequenceException Thrown if error with the nonce sequence
Returns:
The sequences
- Type
- Map.<string, NonceSequence>
serialize(driveAuthEntries) → {string}
Serialize the sequences to a json string.
Parameters:
Name | Type | Description |
---|---|---|
driveAuthEntries |
Map.<string, NonceSequence> | The sequences to convert to text. |
Throws:
SequenceException Thrown if error with the nonce sequence
Returns:
The contents
- Type
- string