MessageFraming class

Handles message framing for the Noise protocol

Constructors

MessageFraming.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

addLengthPrefix(Uint8List message) Uint8List
Adds length prefix to a message
extractLength(Uint8List prefix) int
Extracts length from prefix bytes
validateMessageLength(Uint8List message, int expectedLength) → void
Validates that a complete message was read

Constants

PREFIX_LENGTH → const int
Length of the prefix in bytes