@Override
    public List<Byte> serializeToByteList() throws TikaException, IOException {
        List<Byte> byteList = new ArrayList<>();

        if (this.storageIndexManifestMapping != null) {
            byteList.addAll(this.storageIndexManifestMapping.serializeToByteList());
        }

        if (this.storageIndexCellMappingList != null) {
            for (StorageIndexCellMapping cellMapping : this.storageIndexCellMappingList) {
                byteList.addAll(cellMapping.serializeToByteList());
            }
        }

        // Storage Index Revision Mapping
        if (this.storageIndexRevisionMappingList != null) {
            for (StorageIndexRevisionMapping revisionMapping : this.storageIndexRevisionMappingList) {
                byteList.addAll(revisionMapping.serializeToByteList());
            }
        }

        return byteList;
    }
Used to convert the element into a byte List.

@return A Byte list
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/StorageIndexDataElementData.java