docs: int writeBytes(OutputStream out)
          throws IOException
      {
          int length = myBuffer.length - myOffset;
          byte[] bytes = new byte[length];
          System.arraycopy(myBuffer, myOffset, bytes, 0, length);
          out.write(bytes);
          return length;
      }