We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4767f1 commit c066795Copy full SHA for c066795
reader.go
@@ -65,7 +65,7 @@ func FromBytes(buffer []byte) (*Reader, error) {
65
return nil, err
66
}
67
68
- searchTreeSize := metadata.NodeCount * metadata.RecordSize / 4
+ searchTreeSize := metadata.NodeCount * (metadata.RecordSize / 4)
69
dataSectionStart := searchTreeSize + dataSectionSeparatorSize
70
dataSectionEnd := uint(metadataStart - len(metadataStartMarker))
71
if dataSectionStart > dataSectionEnd {
0 commit comments