we don't need to do it this way. just read in chunks of memory with the full protobuf message the usual fread functions and then decode the protobuf message. So no need for the posix file descriptor here and no need to use protobuf read functions.