MutableData

class MutableData(var value: ByteArray)

Constructors

Link copied to clipboard
constructor(value: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val size: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun setByte(value: Int, @IntRange(from = 0) offset: Int): Boolean

Updates the byte at offset position.

Link copied to clipboard

Updates the locally stored value of this data.

fun setValue(value: Float, formatType: FloatFormat, @IntRange(from = 0) offset: Int): Boolean
fun setValue(value: Int, formatType: IntFormat, @IntRange(from = 0) offset: Int): Boolean
fun setValue(value: Long, formatType: LongFormat, @IntRange(from = 0) offset: Int): Boolean
fun setValue(mantissa: Int, exponent: Int, formatType: FloatFormat, @IntRange(from = 0) offset: Int): Boolean

Set the locally stored value of this data.

Link copied to clipboard