Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:convert
  3. Encoding class
Encoding
description

Encoding classabstract

Open-ended set of encodings.

An encoding is aCodec encoding strings to lists of byte.

This class provides a default implementation ofdecodeStream,which is not incremental. It collects the entire input beforedecoding. Subclasses can choose to use that implementation,or implement a more efficient stream decoding.

Inheritance
Implementers

Constructors

Encoding()
const

Properties

decoderConverter<List<int>,String>
Returns the decoder ofthis, converting fromList<int> toString.
no setteroverride
encoderConverter<String,List<int>>
Returns the encoder fromString toList<int>.
no setteroverride
hashCodeint
The hash code for this object.
no setterinherited
invertedCodec<List<int>,String>
Invertsthis.
no setterinherited
nameString
Name of the encoding.
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

decode(List<int>encoded)String
Decodesencoded data.
inherited
decodeStream(Stream<List<int>>byteStream)Future<String>
encode(Stringinput)List<int>
Encodesinput.
inherited
fuse<R>(Codec<List<int>,R>other)Codec<String,R>
Fusesthis withother.
inherited
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Methods

getByName(String?name)Encoding?
Returns anEncoding for a named character set.
  1. Dart
  2. dart:convert
  3. Encoding class
dart:convert library

[8]ページ先頭

©2009-2025 Movatter.jp