Binary

data class Binary<T>(value: RpcBinaryData) : CallData<T>

Constructors

Link copied to clipboard
constructor(value: RpcBinaryData)

Properties

Link copied to clipboard
open override val isBinary: Boolean

Functions

Link copied to clipboard
open override fun readBinary(): RpcBinaryData

Get the RpcBinaryData for the binary data held by this call. If this is not binary data then throws IllegalStateException.

Link copied to clipboard
open override fun readSerialized(): T

Read the serialized content of this object. If this is not a string then throws IllegalStateException.

Link copied to clipboard
open override fun toString(): String