public class SerializedBytes<T> extends OpaqueBytes
A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back.
public static net.corda.core.serialization.SerializedBytes.Companion Companion
public SerializedBytes(@NotNull kotlin.Array[] bytes)
A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back.
@NotNull public SecureHash getHash()
@JvmStatic @JvmOverloads @NotNull public static <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 static <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 static <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