Lines Matching refs:read
37 * <code>LittleEndien</code> is a class to read littleendien stored data
39 * assume they come from a LittleEndien input stream. Currently used to read .ms3d and .3ds files.
50 * @param in The input stream to read from.
57 public int read() throws IOException {
58 return in.read();
62 public int read(byte[] buf) throws IOException {
63 return in.read(buf);
67 public int read(byte[] buf, int off, int len) throws IOException {
68 return in.read(buf, off, len);
72 return (in.read() & 0xff) | ((in.read() & 0xff) << 8);
76 * read an unsigned int as a long
79 return ((in.read() & 0xff)
80 | ((in.read() & 0xff) << 8)
81 | ((in.read() & 0xff) << 16)
82 | (((long) (in.read() & 0xff)) << 24));
86 return (in.read() != 0);
90 return (byte) in.read();
94 return in.read();
106 return ((in.read() & 0xff)
107 | ((in.read() & 0xff) << 8)
108 | ((in.read() & 0xff) << 16)
109 | ((in.read() & 0xff) << 24));
113 return ((in.read() & 0xff)
114 | ((long) (in.read() & 0xff) << 8)
115 | ((long) (in.read() & 0xff) << 16)
116 | ((long) (in.read() & 0xff) << 24)
117 | ((long) (in.read() & 0xff) << 32)
118 | ((long) (in.read() & 0xff) << 40)
119 | ((long) (in.read() & 0xff) << 48)
120 | ((long) (in.read() & 0xff) << 56));
132 in.read(b, 0, b.length);
136 in.read(b, off, len);