Lines Matching defs:buffer
49 public void write(byte[] buffer) throws IOException {
50 socket.write(buffer, 0, buffer.length);
54 public void write(byte[] buffer, int offset, int count) throws IOException {
56 if (buffer != null) {
57 if (0 <= offset && offset <= buffer.length && 0 <= count
58 && count <= buffer.length - offset) {
59 socket.write(buffer, offset, count);
70 byte[] buffer = new byte[1];
71 buffer[0] = (byte) (oneByte & 0xFF);
73 socket.write(buffer, 0, 1);