tuweni / org.apache.tuweni.bytes / MutableBytes / decrement

decrement

open fun decrement(): MutableBytes! (source)

Decrements the value of the bytes by 1, treating the value as big endian. If decrementing underflows the value then all bits flip, i.e. decrementing 0x0000 will return 0xFFFF.

Return
MutableBytes!: this value