ArbitrarySize

abstract class ArbitrarySize<Format : Any>(val sizeInBytes: Long) : BackupHeaderField<Format>

Inheritors

Constructors

Link copied to clipboard
constructor(sizeInBytes: Long)

Properties

Link copied to clipboard
open override val sizeInBytes: Long

Functions

Link copied to clipboard
abstract fun fromBytes(bytes: ByteArray): Format
Link copied to clipboard
open override fun read(input: <Error class: unknown class>): Format
Link copied to clipboard
abstract fun toBytes(data: Format): ByteArray
Link copied to clipboard
open override fun write(data: Format, output: <Error class: unknown class>)