Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JNA中 .NET 的Marshal.PtrToStructure的等价物是什么?
我正在尝试用 Java 编写一个 Firefox 密码解密器,并且正在查看 C# 等价物,我已经完成了大部分工作,但我被困在这一部分。
使用Structure(Pointer)构造函数,例如
Structure(Pointer)
public class MyStructure extends Structure { public MyStructure(Pointer p) { super(p); read(); } }