Marcin Wisniowski
02/14/2019, 3:19 PMjava.lang.Long.parseLong()
Why isn't this available in the Kotlin Long
?thana
02/14/2019, 3:21 PMMarcin Wisniowski
02/14/2019, 3:21 PMthana
02/14/2019, 3:21 PMMarcin Wisniowski
02/14/2019, 3:24 PMparseUnsignedLong()
? (I am parsing a binary data stream so I need to differentiate). There is a .toULong()
but it actually returns an ULong
which I don't want to use because it's marked as experimental. The Java parseUnsignedLong()
returns a normal Long
. I guess I either have to use ULong
or use the Java method.Davio
02/14/2019, 3:28 PMtoULong().toLong()
Marcin Wisniowski
02/14/2019, 3:30 PMJurriaan Mous
02/14/2019, 3:32 PMDavio
02/14/2019, 3:34 PMMarcin Wisniowski
02/14/2019, 3:37 PMLong.SIZE_BYTES
. Seems to work so far.