You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RawObject: raw.len() != size_bytes is a latent API trap — rename or add len() before 0.2.0 #83
area:objectsCommon object formats and non-graphical objects (§20.1 to §20.3, §20.4 objects, §28)priority:P1On the path of the current milestonetype:bugSomething reads, writes or reports wrongly
After PR #80, RawObject::raw is mc_width + size_bytes long while size_bytes still reports the MS verbatim — so raw.len() != size_bytes on R2010+. That is correct (the MS excludes the record's own MC) but is a latent trap for API consumers who assume the two agree. Before the API stabilises for 0.2.0, either rename size_bytes to declared_size_bytes or add an explicit RawObject::len()/byte_len() and document the framing (MS field | MC field | MS bytes | CRC) on the type.
area:objectsCommon object formats and non-graphical objects (§20.1 to §20.3, §20.4 objects, §28)priority:P1On the path of the current milestonetype:bugSomething reads, writes or reports wrongly
Activity
fix(objects): document RawObject's framing and add byte_len and mc_wi…