log.debug("buffer.length " + buffer.length);
if (log != null) log.debug("buffer.length " + buffer.length);
    public void isc_put_segment(isc_blob_handle blob_handle, byte[] buffer) throws GDSException {        isc_blob_handle_impl blob = (isc_blob_handle_impl) blob_handle;        isc_db_handle_impl db = blob.db;        if (db == null) {            throw new GDSException(isc_bad_db_handle);        }        isc_tr_handle_impl tr = blob.tr;        if (tr == null) {            throw new GDSException(isc_bad_trans_handle);        }        synchronized (db) {            try {                log.debug("op_batch_segments ");                db.out.writeInt(op_batch_segments);                log.debug("blob.rbl_id:  " + blob.rbl_id);                db.out.writeInt(blob.rbl_id); //short???                log.debug("buffer.length " + buffer.length);                db.out.writeBlobBuffer(buffer);                db.out.flush();                            log.debug("sent");                Response resp = receiveResponse(db);            }            catch (IOException ioe) {                throw new GDSException(isc_net_read_err);            }        }    }