public List<Byte> serializeToByteList() throws IOException {
        BitWriter bitWriter = new BitWriter(4);
        bitWriter.appendUInit32(this.id, 26);
        bitWriter.appendUInit32(this.type, 5);
        bitWriter.appendInit32(this.boolValue, 1);

        return bitWriter.getByteList();
    }
This method is used to convert the element of PropertyID object into a byte List.

@return Return the byte list which store the byte information of PropertyID.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/basic/PropertyID.java