added support for bigint array type

This commit is contained in:
Alexander Sulfrian 2011-03-02 14:12:53 +01:00
parent 796b8dfadc
commit c731cd2844
2 changed files with 3 additions and 2 deletions

View File

@ -188,8 +188,8 @@ p.parseIntArray = p.parseStringArray = function(value) {
return null;
}
if (elementType == 0x17) {
// int
if ((elementType == 0x17) || (elementType == 0x14)) {
// int/bigint
var result = parseBits(value, length * 8, offset);
offset += length * 8;
return result;

View File

@ -78,6 +78,7 @@ var buildDataRowMetadata = function(msg, converters, names) {
converters[i] = parsers[format].parseStringArray;
break;
case 1007:
case 1016:
converters[i] = parsers[format].parseIntArray;
break;
default: