Skip to content

Add little endian iee754 f32 decoding. #80

@jr1221

Description

@jr1221

Description

We have big endian decoding. Lets get little endian decoding going as well. For this, a switch to from_be_bytes and from_le_bytes will be in order. We dont send bitaligned floats anyway.

Acceptance Criteria

Test and ensure can read both little endian floats (not endian swapped in C) and big endian floats.

Proposed Solution

Change the match statements to from_be_bytes and from_le_bytes, from_bits isnt needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions