set(SqlVarByte data) { if (data == null || data.isNull()) { setNull(); } else { clear(); put(data.value, 0, data.length); } return; } // set
set(SqlVarByte data) { if (data.isNull()) { setNull(); } else { /* ** The binary data is stored in a byte array. A simple ** binary stream will produce the desired output. */ setStream(getBinary(data.value, 0, data.length)); } return; } // set
getString() { byte[] ba = strm2array(getBinary(), -1); return(SqlVarByte.bin2str(ba, 0, ba.Length)); } // getString