Buffer toString()
|
syntax: |
buffer.toString() |
|
return: |
string - a string equivalent of the current state of the buffer, with all characters, including "\0".
|
|
description: |
Any conversion to or from unicode is done according to the .unicode flag of the object.
|
|
see: |
|
|
example: |
foo = new Buffer("hello"); bar = foo.toString(void); //bar is now the string "hello" |