IcmpPacket class
Constructors
Properties
- code ↔ int
-
getter/setter pair
- hashCode → int
-
Computes a hash code based on the serialized bytes.
no setterinherited
- payload ↔ SelfEncoder
-
getter/setter pair
- protocol → Protocol
-
no setteroverride
- restOfHeader ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ int
-
getter/setter pair
Methods
-
decodeSelf(
RawReader reader) → void -
Decodes the current object from the given
RawReader. -
decodeSelfFromSelfEncoder(
SelfEncoder value) → void -
Decodes this object from a
SelfEncoderby first serializing it to immutable bytes and then reading them viaRawReader.inherited -
encodeSelf(
RawWriter writer) → void -
Writes this object to the provided
RawWriter. -
encodeSelfCapacity(
) → int -
Returns an estimated maximum number of bytes required for encoding.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toImmutableByteData(
) → ByteData -
Serializes this object to an immutable ByteData.
inherited
-
toImmutableBytes(
) → List< int> -
Serializes this object to an immutable list of bytes.
inherited
-
toMutableByteData(
) → ByteData -
Serializes this object to a mutable ByteData buffer.
inherited
-
toMutableBytes(
) → List< int> -
Serializes this object to a mutable list of bytes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Compares this object with another
SelfEncoderby serialized content.inherited
Constants
- typeDestinationUnreachable → const int
- typeEchoReply → const int
- typeEchoRequest → const int
- typeEchoTimeExceeded → const int
- typeParameterProblem → const int
- typeRedirectMessage → const int
- typeRouterAdvertisement → const int
- typeRouterSolicitation → const int
- typeSourceQuench → const int