We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f6c325 commit 18241acCopy full SHA for 18241ac
can/io/blf.py
@@ -359,6 +359,13 @@ def _parse_data(self, data):
359
class BLFWriter(FileIOMessageWriter):
360
"""
361
Logs CAN data to a Binary Logging File compatible with Vector's tools.
362
+
363
+ .. note::
364
+ The `buffer_size` will always stay under the `max_container_size`, which
365
+ is enforced at the end of the `_add_object` function. If the
366
+ `max_container_size > :attr:io.logger.RotatingLogger.max_bytes` then
367
+ the resulting file size will be less than described due to an
368
+ unaccounted compression of the buffer when writing to the file.
369
370
371
file: BinaryIO
0 commit comments