tuweni / org.apache.tuweni.bytes / Bytes / minimalBytes


open static fun minimalBytes(value: Long): Bytes! (source)

Return the smallest bytes value whose bytes correspond to the provided long. That is, the returned value may be of size less than 8 if the provided long has leading zero bytes.


value - Long: The long from which to create the bytes value.

Bytes!: The minimal bytes representation corresponding to l.