Did you know? SWI-Prolog supports Google Protocol BuffersSearch Documentation:
SWI-Prolog owl logoPredicate read_stream_to_codes/2