public byte[] encode() {
        return this.factory.encode(this.states);
    }
Encodes the state of each of the settings in this map to a byte array.

@return the bytes
helper/src/main/java/me/lucko/helper/setting/SettingMap.java