Skip to content

Implement file reading/writing with fractional bytes #10

@dustsigns

Description

@dustsigns

DCCLI reads and writes full bytes from and to input and output files, respectively. If only a fraction of the last byte is used, this may lead to decoding errors. Adding, e.g., a module which adds/parses a file header can solve this issue by reserving additional space to store the number of used bits.

From the documentation:

If a fractional number of bytes (i.e., a number of bits not divisible by eight) is written to the output file, decoding said output file later may lead to errors at the last byte when processing the superfluous bits at the end of the file.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions