Write a collection of COMPAS object to a binary file.
Parameters:
-
data
(Data | dict | list)
–
Any protobuffer serializable object.
This includes any (combination of) COMPAS object(s).
-
filepath
(path string or file-like object)
–
A writeable file-like object or the path to a file.
Returns: