Read more int types
This commit is contained in:
parent
ce7c99c3de
commit
8139f399fd
1 changed files with 4 additions and 0 deletions
|
@ -118,14 +118,17 @@ EXD readEXD(EXH& exh, std::string_view path, ExcelDataPagination& page) {
|
||||||
case Int8:
|
case Int8:
|
||||||
c.data = readData<int8_t>(file, offset + column.offset);
|
c.data = readData<int8_t>(file, offset + column.offset);
|
||||||
c.type = "Int";
|
c.type = "Int";
|
||||||
|
c.uint64Data = readDataRaw<int8_t>(file, offset + column.offset);
|
||||||
break;
|
break;
|
||||||
case UInt8:
|
case UInt8:
|
||||||
c.data = readData<uint8_t>(file, offset + column.offset);
|
c.data = readData<uint8_t>(file, offset + column.offset);
|
||||||
c.type = "Unsigned Int";
|
c.type = "Unsigned Int";
|
||||||
|
c.uint64Data = readDataRaw<uint8_t>(file, offset + column.offset);
|
||||||
break;
|
break;
|
||||||
case Int16:
|
case Int16:
|
||||||
c.data = readData<int16_t>(file, offset + column.offset);
|
c.data = readData<int16_t>(file, offset + column.offset);
|
||||||
c.type = "Int";
|
c.type = "Int";
|
||||||
|
c.uint64Data = readDataRaw<int16_t>(file, offset + column.offset);
|
||||||
break;
|
break;
|
||||||
case UInt16:
|
case UInt16:
|
||||||
c.data = readData<uint16_t>(file, offset + column.offset);
|
c.data = readData<uint16_t>(file, offset + column.offset);
|
||||||
|
@ -134,6 +137,7 @@ EXD readEXD(EXH& exh, std::string_view path, ExcelDataPagination& page) {
|
||||||
case Int32:
|
case Int32:
|
||||||
c.data = readData<int32_t>(file, offset + column.offset);
|
c.data = readData<int32_t>(file, offset + column.offset);
|
||||||
c.type = "Int";
|
c.type = "Int";
|
||||||
|
c.uint64Data = readDataRaw<int32_t>(file, offset + column.offset);
|
||||||
break;
|
break;
|
||||||
case UInt32:
|
case UInt32:
|
||||||
c.data = readData<uint32_t>(file, offset + column.offset);
|
c.data = readData<uint32_t>(file, offset + column.offset);
|
||||||
|
|
Reference in a new issue