UdpPacket class

Inheritance

Constructors

UdpPacket()

Properties

destinationAddress IpAddress
read / write, inherited
destinationPort int
UDP packet destination port.
read / write
hashCode int
Determines hash by serializing this value.
read-only, override
ipProtocolNumber int
read-only, override
parentPacket IpPacket<IpAddress>
read / write, inherited
payload SelfEncoder
UDP packet payload.
read / write
protocol Protocol
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceAddress IpAddress
read / write, inherited
sourcePort int
UDP packet source port.
read / write

Methods

decodeSelf(RawReader reader) → void
Decodes state from the bytes.
override
decodeSelfFromSelfEncoder(SelfEncoder value) → void
Decodes state from the SelfEncoder.
inherited
encodeSelf(RawWriter writer) → void
Encodes this object.
override
encodeSelfCapacity() int
Returns an estimate of the maximum number of bytes needed to encode this value.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toImmutableByteData() ByteData
Returns an immutable encoding of this value.
inherited
toImmutableBytes() List<int>
Returns an immutable encoding of this value.
inherited
toMutableByteData() ByteData
Returns a mutable encoding of this value.
inherited
toMutableBytes() List<int>
Returns a mutable encoding of this value.
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(dynamic other) bool
Determines equality by serializing both values.
override