Skip to content

Keep track of original filename in RRD's FileHeader #7109

Open
@teh-cmc

Description

@teh-cmc

Since #7091, it is now possible to work with multiple RRD files concatenated into a single io stream, but there is no way to demux the stream back into its individual sources since we lost this information in the process.

Maybe it would be nice for the FileHeader to hold to this information at some point.

pub(crate) struct FileHeader {
    pub magic: [u8; 4],
    pub version: [u8; 4],
+   pub filename: String,
    pub options: EncodingOptions,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions