LastExceed
02/27/2020, 4:37 PMLong
to ByteArray
? I found some solutions on StackOverflow ect but they are pretty messybezrukov
02/27/2020, 4:48 PMfun Long.toByteArray() = ByteBuffer.allocate(8).putLong(this).array()
does it simple for you?LastExceed
02/27/2020, 4:50 PM