【flatbuffer】——TypeError: EndVector() takes 1 positional argument but 2 were given

【flatbuffer】——TypeError: EndVector() takes 1 positional argument but 2 were given,第1张

【flatbuffer】——TypeError: EndVector() takes 1 positional argument but 2 were given

flatbuffer

版本

1.12.0

描述
采用flatbuffer的python接口进行 *** 作的时候报错

解决
EndVector is a method, so the first parameter is the object itself, and the second parameter is len(buf). Just remove the len(buf) part.

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5700937.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存