Persistent Data Container
Creates an immutable instance of a PersistentDataContainer.
This function returns a new implementation of PersistentDataContainer that provides immutable access to persistent key-value data storage.
Return
A new immutable instance of PersistentDataContainer.
Author
Fantamomo
Since
1.0-SNAPSHOT
fun PersistentDataContainer(input: InputStream, serializer: SerializerStrategy = SerializerStrategy): PersistentDataContainer(source)
Creates a new instance of PersistentDataContainer by deserializing data from the provided input stream.
Return
A new PersistentDataContainer initialized with the deserialized data.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
input
The input stream from which the serialized data will be read.
serializer
The serialization strategy to use for deserialization. Defaults to SerializerStrategy.