write(pad,0,((4 - len+2) & 3));
    public void writeBlobBuffer(byte[] buffer) throws IOException {        int len = buffer.length ; // 2 for short for buffer length        if (log != null) log.debug("writeBlobBuffer len: " + len);        if (len > Short.MAX_VALUE) {            throw new IOException(""); //Need a value???        }        writeInt(len + 2);        writeInt(len + 2); //bizarre but true! three copies of the length        write((len >> 0) & 0xff);        write((len >> 8) & 0xff);        write(buffer, 0, len);        if (log != null) log.debug("writeBlobBuffer wrotebuffer bytes: " + len);        write(pad,0,((4 - len+2) & 3));    }