cryptic.codec
package cryptic.codec
Members list
Type members
Classlikes
object Fst extends Companion
The Fst object provides a mechanism for encoding and decoding using the FST (Fast Serialization) library.
The Fst object provides a mechanism for encoding and decoding using the FST (Fast Serialization) library.
It contains a default FST configuration and a given Codec for generic types.
Members:
fst: A default FST configuration instance created usingFSTConfiguration.createDefaultConfiguration().
Methods:
codec[V]: A given that provides aCodecimplementation for typeV. This implementation includesencodeanddecodemethods.- The
encodemethod converts a value of typeVintoPlainTextby encoding it to a byte array using the FST configuration instance. - The
decodemethod attempts to convert aPlainTextinstance back into a value of typeVby decoding the byte array using the FST configuration instance, wrapped in aTry.
- The
Attributes
- Supertypes
-
trait Companionclass Objecttrait Matchableclass Any
- Self type
-
Fst.type
In this article