write a term "Term" to a binary term stream "TermStream"
Write a term to a binary term stream.
The stream MUST be opened with open/4 with option type(term).
The stream MUST be closed with an expicit call to close/1.
TermStream Stream, opened with open/4 option type(term) Term a term
open('mydata.data',write,TermStream,[type(term)]),
write_binary_term(TermStream, Term1),
:
write_binary_term(TermStream, TermN),
close(TermStream),
This predicate is not part of the ISO-Prolog Standard.