Lines Matching refs:bytes
39 * bytes to underlying data stream.
49 byte[] bytes = new byte[4];
50 bytes[0] = (byte)((num & 0xff000000) >> 24 & 0xff);
51 bytes[1] = (byte)((num & 0x00ff0000) >> 16 & 0xff);
52 bytes[2] = (byte)((num & 0x0000ff00) >> 8 & 0xff);
53 bytes[3] = (byte)(num & 0xff);
54 write(bytes, 0, 4);
58 byte[] bytes = new byte[2];
59 bytes[0] = (byte)((num & 0xff00) >> 8 & 0xff);
60 bytes[1] = (byte)(num & 0xff);
61 write(bytes, 0, 2);