class SerializedBytes<T : Any> : OpaqueBytesA type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back.
| <init> |
SerializedBytes(bits: ByteArray)A type safe wrapper around a byte array that contains a serialised object. You can call SerializedBytes.deserialize to get the original object back. |
| hash |
val hash: SecureHash |
| bits |
val bits: ByteArray |
| size |
val size: Int |
| writeToFile |
fun writeToFile(path: Path): Path |
| equals |
open fun equals(other: Any?): Boolean |
| hashCode |
open fun hashCode(): Int |
| open |
fun open(): ByteArrayInputStreamReturns a ByteArrayInputStream of the bytes |
| toString |
open fun toString(): String |
| deserialize |
fun SerializedBytes<WireTransaction>.deserialize(kryo: <ERROR CLASS> = THREAD_LOCAL_KRYO.get()): WireTransactionfun <T : Any> SerializedBytes<T>.deserialize(kryo: <ERROR CLASS> = THREAD_LOCAL_KRYO.get()): Tfun <T : Any> OpaqueBytes.deserialize(kryo: <ERROR CLASS> = THREAD_LOCAL_KRYO.get()): T |
| sha256 |
fun OpaqueBytes.sha256(): SHA256 |