MultiAddrCodec class

Handles encoding and decoding of multiaddr values

Constructors

MultiAddrCodec.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

decodeValue(Protocol protocol, Uint8List bytes) String
Decodes a protocol value from bytes
decodeVarint(Uint8List bytes, [int offset = 0]) → (int, int)
Decodes a varint
encodeValue(Protocol protocol, String value) Uint8List
Encodes a protocol value to bytes
encodeVarint(int value) Uint8List
Encodes a varint