Package 

Class RustBufferByReference

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped

    
    public final class RustBufferByReference
    extends ByReference
                        

    The equivalent of the *mut RustBuffer type. Required for callbacks taking in an out pointer.

    Size is the sum of all values in the struct.

    • Method Summary

      Modifier and Type Method Description
      final Unit setValue(RustBuffer.ByValue value) Set the pointed-to RustBuffer to the given value.
      final RustBuffer.ByValue getValue() Get a RustBuffer.ByValue from this reference.
      • Methods inherited from class com.sun.jna.ptr.ByReference

        equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative
      • Methods inherited from class org.lightningdevkit.ldknode.RustBufferByReference

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait