Lines Matching refs:Byte
51 public static final int BYTES = Integer.SIZE / Byte.SIZE;
267 * Returns a big-endian representation of {@code value} in a 4-element byte
269 * For example, the input value {@code 0x12131415} would yield the byte array
280 public static byte[] toByteArray(int value) {
281 return new byte[] {
282 (byte) (value >> 24),
283 (byte) (value >> 16),
284 (byte) (value >> 8),
285 (byte) value};
291 * ByteBuffer.wrap(bytes).getInt()}. For example, the input byte array {@code
303 public static int fromByteArray(byte[] bytes) {