public final class UInt32 extends Object implements Comparable<UInt32>
Modifier and Type | Field and Description |
---|---|
static int |
BYTES |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UInt32 other) |
boolean |
equals(Object o) |
static UInt32 |
from(byte[] valueBytes) |
static UInt32 |
from(int value)
Construct a 32 bits wide integer that is interpreted as unsigned.
|
static UInt32 |
from(String value) |
static UInt32 |
fromBytes(ByteBuffer source) |
byte[] |
getBytes() |
int |
getValue() |
int |
hashCode() |
String |
toString() |
public static final int BYTES
public byte[] getBytes()
public static UInt32 from(int value)
value
- the integer treated as unsigned.UInt32
public static UInt32 from(byte[] valueBytes)
public static UInt32 fromBytes(ByteBuffer source)
public int compareTo(UInt32 other)
compareTo
in interface Comparable<UInt32>
public int getValue()
Copyright © 2025. All rights reserved.