in the example, actually inherit from BinaryParseStream