@Override
 public void write(byte[] src, int offset, int length) throws IOException {
   channel.writeBytes(src, offset, length);
 }