buffer = mc.getBlobSegment(blob, bufferlength);
buffer = c.getBlobSegment(blob, bufferlength);
        public int available() throws IOException {            if (buffer == null) {                if (blob.isEof()) {                    return -1;                }                try {                    //bufferlength is in FBBlob enclosing class                    buffer = mc.getBlobSegment(blob, bufferlength);                }                catch (GDSException ge) {                    throw new IOException("Blob read problem: " + ge.toString());                }                pos = 0;                if (buffer.length == 0) {                   return -1;                }            }            return buffer.length - pos;        }