getSerializer

inline fun <T : Any> getSerializer(): BinarySerializer<T>

Gets a BinarySerializer for the reified type T.

Throws

if no serializer is registered for the type

if the creation of a serializer was prevented by the security manager


Gets a BinarySerializer for the given type.

Throws

if no serializer is registered for the type

if the creation of a serializer was prevented by the security manager