ReadProtoFromBinaryFile for window / linux