transcode method

Buffer transcode(
  1. dynamic source,
  2. String fromEnc,
  3. String toEnc
)

Re-encodes the given source Buffer or Uint8Array instance from one character encoding to another. Returns a new Buffer instance.

Implementation

external Buffer transcode(source, String fromEnc, String toEnc);