Header class

Helper class, used to extract/puut header from/to a sequence of bytes.

Constructors

const
Header.close()
factory

Properties

byteLength int
no setter
compress bool
final
encoding EncodingVersion
final
hashCode int
The hash code for this object.
no setterinherited
magic int
final
protocol ProtocolVersion
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
final
type MessageType
final

Methods

apply({int? magic, ProtocolVersion? protocol, EncodingVersion? encoding, MessageType? type, bool? compress, int? size}) Header
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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