Skip to content

Improve to/from bytes conversions #105

@chfast

Description

@chfast
  • Mark the functions taking uint8_t* as unsafe. E.g. uint_unsafe() or from_unsafe().
  • Add templates for uint8_t[N].
  • Add extending and truncating variants in both directions.
  • Add variants for types having .bytes field.

Draft in #104.

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