Skip to content

write_signed cannot handle 32 bits #3

Description

@kawogi

Running the code

BitWriter::endian(Vec::new(), LittleEndian).write_signed(32, 0).unwrap();

results in the following error message
excessive value for bits written
(same for BigEndian and all other values)

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions