andylamax
06/29/2021, 9:33 AMclass Wrapper(val value: ULong)
When I try instantiating it from Java I get
Wrapper w = new Wrapper(5000L);
It says that the constructor is private. How do I instantiate such a class?diesieben07
06/29/2021, 9:38 AMLong
for Java. Java does not support unsigned types or inline classes in general, as such you have to provide an alternative for Java.andylamax
06/29/2021, 9:40 AMvalue
diesieben07
06/29/2021, 9:42 AMinit
could do validation). So if you could just pass the plain value from Java that code would be bypassed.andylamax
06/29/2021, 9:44 AMephemient
06/29/2021, 2:11 PMephemient
06/29/2021, 2:12 PMdiesieben07
06/29/2021, 2:13 PMinit
blocks.ephemient
06/29/2021, 2:15 PMdiesieben07
06/29/2021, 2:15 PM