java.lang.Object
dev.argon.esexpr.UnsignedByte
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ESExprCodec<UnsignedByte> The codec forUnsignedByte. -
Method Summary
Modifier and TypeMethodDescriptionbyteReturns the value as a byte.booleanstatic UnsignedBytefromByteBits(byte value) Returns anUnsignedBytewhose value is equal to the specified byte.inthashCode()intintValue()Returns the value as an int.shortReturns the value as a short.toString()
-
Field Details
-
INSTANCE
The codec forUnsignedByte.
-
-
Method Details
-
byteValue
public byte byteValue()Returns the value as a byte.- Returns:
- The value as a byte.
-
shortValue
public short shortValue()Returns the value as a short.- Returns:
- The value as a short.
-
intValue
public int intValue()Returns the value as an int.- Returns:
- The value as an int.
-
fromByteBits
Returns anUnsignedBytewhose value is equal to the specified byte.- Parameters:
value- The value to wrap.- Returns:
- An
UnsignedByteinstance.
-
hashCode
-
equals
-
toString
-