Closed briandorsey closed 2 months ago
Or... back to appending _Chunk. Which would give us FmtChunk for the wrapper, and Fmt or FmtData for the actual data.
Alternatively, think about the verbs for converting between them. Which in this case would be something like .wrap_chunk() or .into_chunk() and .into_model() or .into_inner() or something
Decided on using Chunk for the KnownChunk wrappers and removing Data from the inner structs. Now Fmt refers to the logical data and FmtChunk is the KnownChunk wrapper with the ID and size as well.
Fmt --> FmtSized & FmtData --> Fmt ?
Matches with SizedChunk Trait. Reduces silliness like DataData. More accurate & probably makes more sense if/when constructing new chunks programmatically in the future.