Documentation for method decoder assembled from the following pages:

Role: Encoding §

From Encoding

(Encoding) method decoder §

method decoder(*%options --> Encoding::Decoder)

Should get a character decoder instance for this encoding, configured with the provided options. Options vary by encoding. The built-in encodings all support translate-nl, which if True will translate \r\n into \n while decoding.