Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSBuffer#toString returns numbers #71993

Closed
jrieken opened this issue Apr 9, 2019 · 1 comment
Closed

VSBuffer#toString returns numbers #71993

jrieken opened this issue Apr 9, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented Apr 9, 2019

  • inside a context with support for Buffer
  • create a VSBuffer from an Uint8Array array, e.g. VSBuffer.wrap(new Uint8Array(data, 0, 12))
  • call toString on the VSBuffer
  • 馃悰 numbers, not a string, are return because the implementation simply calls buffer.toString
@alexdima
Copy link
Member

alexdima commented Apr 9, 2019

Nice catch!

@alexdima alexdima added this to the April 2019 milestone Apr 9, 2019
@alexdima alexdima added bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority labels Apr 9, 2019
@jrieken jrieken added the verified Verification succeeded label May 7, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants