Skip to content

Value display error #33861

@xlpxxx

Description

@xlpxxx

node: v12.16.1
os: window x64

var ByteBuffer = require("bytebuffer");

var buf = new ByteBuffer([]);
var num = 3135456464646545920
buf.writeVarint64(num)
var result = buf.flip()
console.log(num.toString())
console.log(result.readVarint64().toString())

output

3135456464646546000
3135456464646545920

Metadata

Metadata

Assignees

No one assigned

    Labels

    wrong repoIssues that should be opened in another repository.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions