Changes

Jump to: navigation, search

ServerJS/Encodings

198 bytes added, 14:02, 6 June 2009
Class: Transcoder: add sourceCharset/destinationCharset constants
; [Constructor] Transcoder(from, to)
: Where from and to are the encoding names.
; [Constant] sourceCharset
: String containing the (possibly normalised) source charset name.
; [Constant] destinationCharset
: String containing the (possibly normalised) destination charset name.
; [Method] push(byteStringOrArray[, outputByteArray])
: Convert input from a ByteString or ByteArray. Those parts of byteStringOrArray that could not be converted (for multi-byte encodings) are stored in a buffer. If outputByteArray is passed, the results are ''appended'' to outputByteArray.
62
edits

Navigation menu