loadFrom

abstract fun loadFrom(input: InputStream, serializer: SerializerStrategy = SerializerStrategy)(source)

Loads data from the specified input stream using the specified serializer strategy.

This method will read the data from the input stream and populate the container with the data.

Parameters

input

The input stream to read data from.

serializer

The serializer strategy to use for deserialization.