How to parse binary from memory in python?
Hi,

I was hoping to use this parser to parse some network protocol. But I just reallized that there is no method to read received bytes from a socket. Save the receieved byte to file then use KaitaiStruct.from_file() is too slow for my application. 

Is there any way to read binary then parse it without using from_file()?

Thank you,