public class MoreLongs extends Object
| Constructor and Description |
|---|
MoreLongs() |
| Modifier and Type | Method and Description |
|---|---|
static int |
stringSize(long x)
Hand-optimized binary length search of given long value.
|
static int |
writeAsString(long x,
byte[] bytes,
int index) |
public static int writeAsString(long x,
byte[] bytes,
int index)
x - bytes - index - public static int stringSize(long x)
x - 0 or positive long valueCopyright © 2021. All rights reserved.