Partager via


2.3.1.2 SegmentContentBlocks

The blocks field contains a number cSegments of SegmentContentBlocks fields. The Nth SegmentContentBlocks field corresponds to the Nth SegmentDescription (section 2.3.1.1) and hence the Nth content segment. The SegmentContentBlocks field is formatted as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cBlocks

BlockHashes (variable)

...

cBlocks (4 bytes): Number of content blocks in the segment which intersect the content range specified at the start of the Content Information (section 2.3).

BlockHashes (variable): SHA-256, SHA-384 or SHA-512 hash of each content block in the order in which the blocks appear in the segment. The size of this field is cBlocks * (32, 48 or 64, depending on which hash was used).