- /**
- * Serialize the InvoiceRequestFeatures object into a byte array which can be read by InvoiceRequestFeatures_read
- */
- public write(): Uint8Array {
- const ret: number = bindings.InvoiceRequestFeatures_write(this.ptr);
- const ret_conv: Uint8Array = bindings.decodeUint8Array(ret);
- return ret_conv;
- }
-
- /**
- * Read a InvoiceRequestFeatures from a byte array, created by InvoiceRequestFeatures_write
- */
- public static constructor_read(ser: Uint8Array): Result_InvoiceRequestFeaturesDecodeErrorZ {
- const ret: bigint = bindings.InvoiceRequestFeatures_read(bindings.encodeUint8Array(ser));
- const ret_hu_conv: Result_InvoiceRequestFeaturesDecodeErrorZ = Result_InvoiceRequestFeaturesDecodeErrorZ.constr_from_ptr(ret);
- return ret_hu_conv;
- }
-