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.
我对 kaitai-struct 和 java 很陌生。我已将 .ksy 文件解析为目标语言 java,但在 eclipse ide 中编译后,我得到“java.nio.BufferUnderflowException”。有人能帮我吗。
BufferUnderflowException 意味着解析在某个时刻已经到达流(或子流)的末尾并试图超越它。它通常意味着:
尝试在某种可视化工具(即 WebIDE、ksv 等)中针对您的文件运行该规范——它很可能会告诉您问题出在哪里。