method
replicate
v2_4_6 -
Show latest stable
- Class:
Encoding
replicate(p1)public
Returns a replicated encoding of enc whose name is name. The new encoding should have the same byte structure of enc. If name is used by another encoding, raise ArgumentError.