Data

data class Data(val value: ByteArray)(source)

Immutable binary data.

Constructors

Link copied to clipboard
constructor(value: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val size: Size
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun plus(that: Data): Data
Link copied to clipboard
fun readFirst(size: Size): Pair<Data, Data>?
Link copied to clipboard
fun require(requiredSize: Size)
Link copied to clipboard
fun xor(that: Data): Data