Skip to content

Replace most method overloads of writeData and writeIntoBuffer with a UZKFileInfo instance #89

@abbeycode

Description

@abbeycode

There are far too many overloads of the -writeData:... and -writeInfoBuffer:... methods, which causes friction, complexity, and unnecessary bugs (e.g. #81, #85) due to incorrect and/or inconsistent values being passed as defaults from the shorter overloads.

Instead, add public initializers to UZKFileInfo, and update the most complicated overload to take that as the only argument, reading the required properties out of it. There should still be one more overload for each, covering the simplest case of only a file path and the data being written.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions