Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcapファイル書き出し読み出しが楽に実装できそうか #43

Open
ddddddO opened this issue Jul 27, 2024 · 0 comments
Open

Comments

@ddddddO
Copy link
Owner

ddddddO commented Jul 27, 2024

byte配列で書き出せるならいけそうな気がする
https://pkg.go.dev/github.com/google/[email protected]/pcapgo#NewWriter

読むのは、gopacketの返すインタフェースとpackemonのインタフェースで異なるだろうから、一旦いいかな
いや、これがbyte配列返してるからいけそう
https://pkg.go.dev/github.com/google/[email protected]/pcapgo#Reader.ReadPacketData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant