You can also make your own bias! Although I would use inline methods, I would choose this for fun.
byte[] getBytesFromInt(int i){ return new byte[]{ (byte)i, (byte)(i >> 8), (byte)(i >> 16), (byte)(i >> 24) }; }
Of course you need to worry about endian.
source share