read_session_section#

read_session_section(filepath, section)[source]#

Read raw bytes for a named section without decoding.

Parameters:
filepathstr

Path to a session file.

sectionstr

Section name (e.g. "thumbnail", "meta").

Returns:
bytes or None

Raw section bytes, or None if the section does not exist.