@Override
    public List<Byte> serializeToByteList() throws IOException {
        BitWriter bitField = new BitWriter(2);
        bitField.appendInit32(this.headerType, 2);
        bitField.appendInit32(this.compound, 1);
        bitField.appendUInit32(this.type.getIntVal(), 6);
        bitField.appendInit32(this.length, 7);
        List<Byte> result = new ArrayList<>();
        ByteUtil.appendByteArrayToListOfByte(result, bitField.getBytes());
        return result;
    }
This method is used to convert the element of StreamObjectHeaderStart16bit basic object into a byte List.

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