Skip to content

Commit a1f77f9

Browse files
committed
Corrected reader.readS32 and 64
1 parent 93c7e3b commit a1f77f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/rntuple.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,10 @@ class RNTupleDescriptorBuilder {
770770
val = String.fromCharCode(reader.readS8());
771771
break;
772772
case ENTupleColumnType.kIndex32:
773+
val = reader.readS32();
774+
break;
773775
case ENTupleColumnType.kIndex64:
774-
val = processedBlob[i];
776+
val = reader.readS64();
775777
break;
776778
default:
777779
throw new Error(`Unsupported column type: ${columnDescriptor.coltype}`);

0 commit comments

Comments
 (0)