binary-streams / loggersoft.kotlin.streams / java.math.BigInteger

Extensions for java.math.BigInteger

toBytes

Writes this value as bytes to buffer byte array starting from offset with specified byteOrder.

fun BigInteger.toBytes(buffer: ByteArray, bytes: Int, byteOrder: ByteOrder = nativeByteOrder, offset: Int = 0): Unit