read binary protobufs as well as text