private static void *__CopyValue(global::NitraLibSodium.Sign.Ed25519phState.__Internal native)
        {
            var ret = Marshal.AllocHGlobal(sizeof(global::NitraLibSodium.Sign.Ed25519phState.__Internal));

            *(global::NitraLibSodium.Sign.Ed25519phState.__Internal *)ret = native;
            return(ret.ToPointer());
        }
 private Ed25519phState(global::NitraLibSodium.Sign.Ed25519phState.__Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
 }
 internal static global::NitraLibSodium.Sign.Ed25519phState __CreateInstance(global::NitraLibSodium.Sign.Ed25519phState.__Internal native, bool skipVTables = false)
 {
     return(new global::NitraLibSodium.Sign.Ed25519phState(native, skipVTables));
 }