Add an accessor to UInt5 to get the value and correct conversion
[ldk-java] / src / main / java / org / ldk / util / UInt5.java
index 1bd627b88b77781628907371a4b703e936dfdbf5..a818d9d81a820293f15aad127f78688be957d36c 100644 (file)
@@ -11,4 +11,11 @@ public class UInt5 {
         }
         this.val = val;
     }
+
+    /**
+     * @return the value represented
+     */
+    public byte getVal() {
+        return val;
+    }
 }