Writer interface.
Methods
# write (data: ArrayBuffer | Object | String, encodingopt: String) instance
Write to source.
Arguments:
data
: ArrayBuffer| Object| StringData to write. If Object - it stringify before write
encoding
: StringEncode data to
encoding
before write. Default toutf-8
in case data is String orbin
in case data is ArrayBuffer. One of "utf-8"|"ucs2"|"bin"|"base64"|"base64toBin".base64toBin
applicable only if data is Buffer alike