1 /**
  2  * Define standard CUBRID data types size (in bytes)
  3  */
  4 
  5 exports.UNSPECIFIED_SIZEOF = 0;
  6 exports.BYTE_SIZEOF = 1;
  7 exports.BOOL_SIZEOF = 1;
  8 exports.INT_SIZEOF = 4;
  9 exports.LONG_SIZEOF = 8;
 10 exports.OBJECT_SIZEOF = 8;
 11 exports.RESULTSET_SIZEOF = 4;
 12 exports.SHORT_SIZEOF = 2;
 13 exports.FLOAT_SIZEOF = 4;
 14 exports.DOUBLE_SIZEOF = 8;
 15 exports.DATE_SIZEOF = 14;
 16 exports.TIME_SIZEOF = 14;
 17 exports.DATETIME_SIZEOF = 14;
 18 exports.TIMESTAMP_SIZEOF = 14;
 19 exports.OID_SIZEOF = 8;
 20 exports.BROKERINFO_SIZEOF = 8;
 21 
 22 exports.DATA_LENGTH_SIZEOF = 4;
 23 exports.CAS_INFO_SIZE = 4;
 24 
 25 
 26 
 27