Package com.rnett.krosstalk.serialization.plugin
APIs necessary to define serialization plugins. Look at the Kotlinx serialization plugin for examples.
For instructions on writing plugins, see WRITING_PLUGINS.md.
Types
Link copied to clipboard
abstract class ArgumentSerializationHandler<S>(transformer: SerializedFormatTransformer<S>) : BaseSerializationHandler<S>
Content copied to clipboard
A SerializationHandler that automatically serializes/deserializes each argument before calling serializeArguments/deserializeArguments.
Link copied to clipboard
A {Argument -> Serializer}
map, with helper functions to get the needed serializer as Serializer<Any?, S>
rather than Serializer<*, S>
and to serialize/deserialize all arguments.
Link copied to clipboard
abstract class BaseSerializationHandler<S>(transformer: SerializedFormatTransformer<S>) : SerializationHandler<S>
Content copied to clipboard
Link copied to clipboard
A serializer that directly serializes/deserializes to/from ByteArray.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A serializer that serializes/deserializes to/from String.
Link copied to clipboard