Skip to content

write_signed cannot handle 32 bits #3

@kawogi

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)

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