BinaryMimeData class

Represents binary mime data

Inheritance

Constructors

BinaryMimeData(Uint8List data, {required bool containsHeader})
Creates a new binary mime data

Properties

bodySize int
Size of the MimePart body
no setterinherited
containsHeader bool
Defines if this mime data includes header data
finalinherited
contentType ContentTypeHeader?
The content type of this mime data
no setterinherited
data Uint8List
The binary data
final
hashCode int
The hash code for this object.
no setterinherited
hasParts bool
Returns true when there are children
no setterinherited
headersList List<Header>?
All known headers of this mime data
getter/setter pairinherited
parts List<MimeData>?
The children of this mime data
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of the entire MimePart
no setterinherited

Methods

decodeBinary(String? contentTransferEncoding) Uint8List
Decodes the data represented by the mime data
override
decodeMessageData() MimeData?
Decodes message/rfc822 content
override
decodeText(ContentTypeHeader? contentTypeHeader, String? contentTransferEncoding) String
Decodes the text represented by the mime data
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(ContentTypeHeader? contentTypeHeader) → void
Parses this data
inherited
render(StringBuffer buffer, {bool renderHeader = true}) → void
Renders this mime data.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited