Modifier and Type | Method and Description |
---|---|
static int |
unsignedByteToInt(byte value)
Converts an unsigned-byte value to a signed int.
|
static int |
unsignedByteToShort(byte value)
Converts an unsigned-byte value to a signed short.
|
static int |
unsignedIntToInt(int value)
Converts an unsigned-int value to a signed int.
|
static long |
unsignedIntToLong(int value)
Converts an unsigned-int value to a signed long.
|
static int |
unsignedIntToShort(int value)
Converts an unsigned-int value to a signed int.
|
static int |
unsignedShortToInt(short value)
Converts an unsigned-short value to a signed int.
|
public static int unsignedByteToInt(byte value)
value
- the value to convert.public static int unsignedShortToInt(short value)
value
- the value to convert.public static int unsignedIntToShort(int value)
value
- the value to convert.public static int unsignedByteToShort(byte value)
value
- the value to convert.public static long unsignedIntToLong(int value)
value
- the value to convert.public static int unsignedIntToInt(int value)
value
- the value to convert.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.