Reader interface.
Methods
read(encodingopt) → ArrayBuffer|String
Read from source
Arguments:
-
[encoding]
(String)
 Optional encoding of source. Default to 'utf-8'.
If 'bin' - return ArrayBuffer source representation without any conversion.
If 'base64' - transform base64 encoded content of source to ArrayBuffer
If 'bin2base64' - transform content to base64 encoded string
[encoding]
(String)
 Optional encoding of source. Default to 'utf-8'.
If 'bin' - return ArrayBuffer source representation without any conversion.
If 'base64' - transform base64 encoded content of source to ArrayBuffer
If 'bin2base64' - transform content to base64 encoded string