[buffer] Implement inspect() method
[buffer] Fix toString('hex')
[buffer] Fix write() for 'binary' encoding
[buffer] Fix write() of partial character bytes for utf8