read_snapshot_size#
- pytwin.read_snapshot_size(filepath)#
Return the number of data stored in a snapshot binary file.
- Parameters:
- filepath
str
Path of the binary file to be written.
- filepath
- Returns:
int
Number of data stored in the binary file.
Examples
>>> from pytwin import write_binary >>> number_data = read_snapshot_size('snapshot.bin')