Lines Matching defs:num
48 public void write32(int num) throws IOException {
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);
57 public void write16(int num) throws IOException {
59 bytes[0] = (byte)((num & 0xff00) >> 8 & 0xff);
60 bytes[1] = (byte)(num & 0xff);
64 public void write8(int num) throws IOException {
65 write(num & 0xff);