[Java] Properly convert strings to/from Modified UTF-8
[ldk-java] / src / main / java / org / ldk / structs / RawDataPart.java
index b7d7de1613d6fe876f89b5ea806e248c7dde5026..d7885133c9659d7021b45d4840ab1c6337cbfa77 100644 (file)
@@ -9,7 +9,7 @@ import javax.annotation.Nullable;
 
 
 /**
- * Data of the `RawInvoice` that is encoded in the data part
+ * Data of the [`RawBolt11Invoice`] that is encoded in the data part
  */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class RawDataPart extends CommonBase {
@@ -78,7 +78,7 @@ public class RawDataPart extends CommonBase {
        }
 
        /**
-        * Checks if two RawDataParts contain equal inner contents.
+        * Generates a non-cryptographic 64-bit hash of the RawDataPart.
         */
        public long hash() {
                long ret = bindings.RawDataPart_hash(this.ptr);