Skip to content

The p return value from Bitmap.FromUnsafeBytes is incorrect #444

@anacrolix

Description

@anacrolix

The p return value from Bitmap.FromUnsafeBytes is incorrect and untested.

I experimented with using it to read consecutive packed bitmaps for the BSI implementation but it resulted in different p values than ReadFrom. I took a quick look at the tests and it wasn't checked in the unit tests when the feature was added.

@damnever

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions