tuweni / org.apache.tuweni.bytes / Bytes / trimLeadingZeros

trimLeadingZeros

open fun trimLeadingZeros(): Bytes! (source)

Return a slice of representing the same value but without any leading zero bytes.

Return
Bytes!: value if its left-most byte is non zero, or a slice that exclude any leading zero bytes.