Document.LongProperty.DefaultSerializer


class Document.LongProperty.DefaultSerializer : LongSerializer


Summary

Public constructors

Public functions

Long
deserialize(value: Long)

Deserializes a T from a long.

Long
serialize(value: Long)

Serializes a T to a long.

Public constructors

DefaultSerializer

Added in 1.1.0-alpha06
DefaultSerializer()

Public functions

deserialize

Added in 1.1.0-alpha06
fun deserialize(value: Long): Long

Deserializes a T from a long. Returns null if deserialization failed.

serialize

Added in 1.1.0-alpha06
fun serialize(value: Long): Long

Serializes a T to a long.