decoder 属性
override
返回 this 的解码器,将 List<int> 转换为 String。
它可能是状态性的,不应重复使用。
实现
Utf8Decoder get decoder {
// Switch between const objects to avoid allocation.
return _allowMalformed
? const Utf8Decoder(allowMalformed: true)
: const Utf8Decoder(allowMalformed: false);
}