Skip to content

Add setUint32, getInt32, setFloat32, getFloat32, setFloat64, getFloat64 functions #1

@Gozala

Description

@Gozala

It appears that only reason protons library needs to allocate and pass around DataView objects along with Uint8Arrays is to use following methods:

  • setUint32
  • getInt32
  • setFloat32
  • getFloat32
  • setFloat64
  • getFloat64

It seem like it would be a good idea to expose them as static functions from these library so they could be used without having to deal with that in cases like this ipfs/protons#14 (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