Package-level declarations

Types

Link copied to clipboard
@ExperimentalSerializationApi
class PacketByteBufDecoder(buf: FriendlyByteBuf, elementsCount: Int = 0) : AbstractDecoder
Link copied to clipboard
@ExperimentalSerializationApi
class PacketByteBufEncoder(buf: FriendlyByteBuf) : AbstractEncoder

Functions

Link copied to clipboard
@ExperimentalSerializationApi
inline fun <T> decodeFrom(buf: FriendlyByteBuf): T
@ExperimentalSerializationApi
fun <T> decodeFrom(buf: FriendlyByteBuf, deserializer: DeserializationStrategy<T>): T
Link copied to clipboard
@ExperimentalSerializationApi
inline fun <T> encodeTo(buf: FriendlyByteBuf, value: T)
@ExperimentalSerializationApi
fun <T> encodeTo(buf: FriendlyByteBuf, serializer: SerializationStrategy<T>, value: T)
Link copied to clipboard
fun NetlibSerializersModule(): SerializersModule

A SerializersModule containing contextual serializers for Minecraft related classes.

Link copied to clipboard
fun WanderiaSerializersModule(): SerializersModule