Expand description
Converter converts a slice according to the conversion
flags and conversion block size specified in super::opts
Structs
Enums
The case to convert to. The effect of this is dependent on
EncodeTo; the
conversion will happen AFTER the encoding in the case of
ASCII, OLDASCII, andNone. EBCDIC, IBM, and OLD_IBM
mean the case conversion will happen BEFORE encoding.The Encoding to convert to.
ASCII and OLD_ASCII
assume that the source file is encoded in classic EBCDIC,
while IBM, EBCDIC, OLD_IBM, and OLD_EBCDIC assume that the source
file is encoded in modern (that is, post-1967) ASCIITraits
A convertslice can modify a slice of
T in-place, and provides helper
methods to create modified copies.Functions
Swap every pair of items. If
slice.len() % 2 == 1, the last item will be
ignored.