node
node copied to clipboard
[Implement] Buffer#inspect
@dcodeIO I think this could probably be optimized further but I've hit my limit. Any thoughts?
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
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.