62
edits
(→API: fix example, add alternative API proposal) |
(→Alternative: Converter: fix some bad wording) |
||
| Line 76: | Line 76: | ||
: Where from and to are the encoding names. | : Where from and to are the encoding names. | ||
; [Method] push(byteStringOrArray) | ; [Method] push(byteStringOrArray) | ||
: Convert input from a ByteString or ByteArray. The results are | : Convert input from a ByteString or ByteArray. The results are returned, and those parts of byteStringOrArray that could not be converted (for multi-byte encodings) are stored in a buffer. | ||
: Returns (as a ByteString) as much as could be converted. | : Returns (as a ByteString) as much as could be converted. | ||
; [Method] close() | ; [Method] close() | ||
edits