Lines Matching defs:buffer
219 byte[] buffer = new byte[1];
220 int result = read(buffer, 0, 1);
221 return result == -1 ? -1 : buffer[0] & 0xff;
225 public int read(byte[] buffer, int offset, int count) throws IOException {
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
238 public int read(byte[] buffer) throws IOException {
239 return read(buffer, 0, buffer.length);
300 public void write(byte[] buffer, int offset, int count) throws IOException {
304 super.write(buffer, offset, count);
309 super.write(buffer, offset, count);
313 public void write(byte[] buffer) throws IOException {
316 int count = buffer.length;
318 super.write(buffer);
323 super.write(buffer);