Skip to content

Support for actual int64 as opposed to int53 #21

@rochdev

Description

@rochdev

I was wondering if support for int64 libraries like long and int64-buffer would be considered. I'm willing to open a PR for int64-buffer since it's what we use and is also used by msgpack-lite.

This would not add a lot of overhead to the library and would look something like this:

if (value._isUint64BE) {
  value = value.toArray();
  bytes.push(0xcf, value[0], value[1], value[2], value[3], value[4], value[5], value[6], value[7]);
  return 9;
}

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