There is great scope for confusion about the correct values for various index table properties related to slices and the PosTable.
SliceCount is actually the count of the entries in the SliceOffset array in each entry in the IndexEntryArray and this is one less than the actual number of slices indexed because the first slice (slice 0) always starts at StreamOffset and so is not included in SliceOffset. So, SliceCount is number of slices minus one
NSL is simply a shorthand for SliceCount
PosTableCount is the count of entries in the PosTable array in each entry in the IndexEntryArray - NOT the number of PosTable entries minus one - despite this appearing in some versions of the documentation
NPE is simply a shorthand for PosTableCount
The first entry in the SliceOffset array relates to the second slice (slice 1) and so should be referred to as entry 1 (confusing to C and C++ programmers). This is because the first slice (slice 0) always starts at the position indicated by StreamOffset
The first entry in the PosTable array relates to the element whose PosTableIndex is 1 and so should be referred to as entry 1 (again confusing to C and C++ programmers). This is because a PosTableIndex of zero means there is no temporal offset
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum