@Override
    protected int serializeItemsToByteList(List<Byte> byteList) throws TikaException, IOException {
        // Add the reserved byte
        byteList.add((byte) 0);
        for (DataElement dataElement : dataElements) {
            byteList.addAll(dataElement.serializeToByteList());
        }
        return 1;
    }
Used to convert the element into a byte List

@param byteList A Byte list
@return The number of elements actually contained in the 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/DataElementPackage.java