Binary

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

Constructors

Link copied to clipboard
constructor(value: ByteReadChannel)

Properties

Link copied to clipboard
open override val isBinary: Boolean

Functions

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

Get the ByteReadChannel 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