Skip to content

RawObject::raw likely ends 1-2 bytes short: MS excludes the record's own MC handle-stream-size field (841/841 measured) #77

Closed

Description

@DrunkOnJava

#75 measured that every inter-record run in AcDb:AcDbObjects equals the width of the PRECEDING record's leading MC handle-stream-size field (841/841 on sample_AC1032.dwg, 100% on three other files; only 8/916 bytes are zero, so it is not padding) — MS excludes the record's own MC. Consequence: the walker's raw slice ends mc_width bytes early. Harmless today (those bytes are handle-stream tail the decoders re-locate), but the container layer should size the slice correctly and the string_stream + mc_field_bits comment can now cite the measurement.

Activity

  1. added
    type:bug
    and removed on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions