How to read a Muse data files using Java and Protobuf


#1

I’m trying to read a Muse data file (.muse extension as downloaded from the MuseDirect cloud) with Java using the protobuf library. I started here: https://sites.google.com/a/interaxon.ca/muse-developer-site/data-files.

The first two messages come out fine, but the third one is unusually long (44K bytes) and gives a “Message missing required fields” error.

Is there sample code somewhere (using protobufs) that shows how to parse the file?