Mercurial > projects > dwt-mac
comparison dwt/internal/image/LEDataOutputStream.d @ 6:b903c16b6f48
Removed throws decls
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:10:03 +0200 |
parents | 1a8b3cb347e0 |
children | 5123b17c98ef |
comparison
equal
deleted
inserted
replaced
5:1a8b3cb347e0 | 6:b903c16b6f48 |
---|---|
21 } | 21 } |
22 /** | 22 /** |
23 * Write the specified number of bytes of the given byte array, | 23 * Write the specified number of bytes of the given byte array, |
24 * starting at the specified offset, to the output stream. | 24 * starting at the specified offset, to the output stream. |
25 */ | 25 */ |
26 public void write(byte b[], int off, int len) throws IOException { | 26 public void write(byte b[], int off, int len) { |
27 out.write(b, off, len); | 27 out.write(b, off, len); |
28 } | 28 } |
29 /** | 29 /** |
30 * Write the given byte to the output stream. | 30 * Write the given byte to the output stream. |
31 */ | 31 */ |
32 public void write(int b) throws IOException { | 32 public void write(int b) { |
33 out.write(b); | 33 out.write(b); |
34 } | 34 } |
35 /** | 35 /** |
36 * Write the given byte to the output stream. | 36 * Write the given byte to the output stream. |
37 */ | 37 */ |
38 public void writeByte(byte b) throws IOException { | 38 public void writeByte(byte b) { |
39 out.write(b & 0xFF); | 39 out.write(b & 0xFF); |
40 } | 40 } |
41 /** | 41 /** |
42 * Write the four bytes of the given integer | 42 * Write the four bytes of the given integer |
43 * to the output stream. | 43 * to the output stream. |
44 */ | 44 */ |
45 public void writeInt(int theInt) throws IOException { | 45 public void writeInt(int theInt) { |
46 out.write(theInt & 0xFF); | 46 out.write(theInt & 0xFF); |
47 out.write((theInt >> 8) & 0xFF); | 47 out.write((theInt >> 8) & 0xFF); |
48 out.write((theInt >> 16) & 0xFF); | 48 out.write((theInt >> 16) & 0xFF); |
49 out.write((theInt >> 24) & 0xFF); | 49 out.write((theInt >> 24) & 0xFF); |
50 } | 50 } |
51 /** | 51 /** |
52 * Write the two bytes of the given short | 52 * Write the two bytes of the given short |
53 * to the output stream. | 53 * to the output stream. |
54 */ | 54 */ |
55 public void writeShort(int theShort) throws IOException { | 55 public void writeShort(int theShort) { |
56 out.write(theShort & 0xFF); | 56 out.write(theShort & 0xFF); |
57 out.write((theShort >> 8) & 0xFF); | 57 out.write((theShort >> 8) & 0xFF); |
58 } | 58 } |
59 } | 59 } |