/* ** Name: writeSqlDataIndicator ** ** Description: ** Writes a single byte (the SQL data/NULL indicator) ** to the current message and returns True if the data ** value is not-NULL. ** ** Input: ** value SQL data value. ** ** Output: ** None. ** ** Returns: ** boolean True if data value is not-NULL. ** ** History: ** 1-Dec-03 (gordy) ** Created. */ private bool writeSqlDataIndicator(SqlData data) { bool isNull = data.isNull(); write((byte)(isNull ? 0 : 1)); return (!isNull); }