public int doDeserializeFromByteArray(byte[] byteArray, int startIndex) throws IOException {
        int index = startIndex;
        this.header = new ObjectSpaceObjectStreamHeader();
        int headerCount = this.header.doDeserializeFromByteArray(byteArray, index);
        index += headerCount;

        this.body = new CompactID[(int) this.header.count];
        for (int i = 0; i < this.header.count; i++) {
            CompactID compactID = new CompactID();
            int count = compactID.doDeserializeFromByteArray(byteArray, startIndex);
            this.body[i] = compactID;
            index += count;
        }

        return index - startIndex;
    }
This method is used to deserialize the ObjectSpaceObjectStreamOfContextIDs object
from the specified byte array and start index.

@param byteArray  Specify the byte array.
@param startIndex Specify the start index from the byte array.
@return Return the length in byte of the ObjectSpaceObjectStreamOfContextIDs object.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/space/ObjectSpaceObjectStreamOfContextIDs.java