+ /**
+ * Returns true if this `Features` object contains unknown feature flags which are set as
+ * \"required\".
+ */
+ public boolean requires_unknown_bits() {
+ boolean ret = bindings.InitFeatures_requires_unknown_bits(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Returns whether the `payment_secret` feature is supported.
+ */
+ public boolean supports_payment_secret() {
+ boolean ret = bindings.InitFeatures_supports_payment_secret(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Serialize the InitFeatures object into a byte array which can be read by InitFeatures_read
+ */