Java Utililty Methods Byte to Byte Array

List of utility methods to do Byte to Byte Array

Description

The list of methods to do Byte to Byte Array are organized into topic(s).

Method

Byte[]byteToByte(byte[] in)
byte To Byte
Byte[] out = new Byte[in.length];
for (int i = 0; i < in.length; i++)
    out[i] = in[i];
return out;
byte[]byteToByteArray(byte number)
byte To Byte Array
return new byte[] { number };
byte[]byteToBytes(byte src)
byte To Bytes
return new byte[] { src };
byte[]byteToBytes(byte x)
byte To Bytes
byte[] out = new byte[1];
out[0] = x;
return out;