public static class SerializedBytes.Companion
@JvmStatic @JvmOverloads @NotNull public <T> SerializedBytes<T> from(@NotNull T obj, @NotNull SerializationFactory serializationFactory, @NotNull SerializationContext context)
Serializes the given object and returns a class SerializedBytes
wrapper for it. An alias for Any.serialize
intended to make the calling smoother for Java users.
class SerializedBytes
,
Any.serialize
@JvmStatic @JvmOverloads @NotNull public <T> SerializedBytes<T> from(@NotNull T obj, @NotNull SerializationFactory serializationFactory)
Serializes the given object and returns a class SerializedBytes
wrapper for it. An alias for Any.serialize
intended to make the calling smoother for Java users.
class SerializedBytes
,
Any.serialize
@JvmStatic @JvmOverloads @NotNull public <T> SerializedBytes<T> from(@NotNull T obj)
Serializes the given object and returns a class SerializedBytes
wrapper for it. An alias for Any.serialize
intended to make the calling smoother for Java users.
class SerializedBytes
,
Any.serialize