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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Implement] Buffer#inspect #15

Open
wants to merge 17 commits into
base: master
from
Open

[Implement] Buffer#inspect #15

wants to merge 17 commits into from

Conversation

@jtenner
Copy link
Collaborator

@jtenner jtenner commented Jul 22, 2019

No description provided.

@jtenner jtenner requested a review from dcodeIO Jul 22, 2019
@jtenner jtenner self-assigned this Jul 22, 2019
@jtenner jtenner changed the title [Implement] Buffer#concat (todo: fix tlsf problem) [Implement] Buffer#inspect (todo: fix tlsf problem) Jul 22, 2019
@jtenner
Copy link
Collaborator Author

@jtenner jtenner commented Jul 23, 2019

@dcodeIO I think this could probably be optimized further but I've hit my limit. Any thoughts?

@jtenner jtenner changed the title [Implement] Buffer#inspect (todo: fix tlsf problem) [Implement] Buffer#inspect Jul 23, 2019
@jtenner
Copy link
Collaborator Author

@jtenner jtenner commented Aug 1, 2019

This method is the reason why I created the charsFromByte() method. Now we can re-use it here in the .inspect() method.

All set for review @dcodeIO

assembly/buffer/index.ts Outdated Show resolved Hide resolved
jtenner added 5 commits Aug 6, 2019
assembly/buffer/index.ts Outdated Show resolved Hide resolved
@jtenner
Copy link
Collaborator Author

@jtenner jtenner commented Mar 13, 2020

Using the new __aspectReflectAs() api, we can log(new ArrayBuffer()) with the inspect output just like node.js outputs Buffers. Will have to revisit this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.