InvalidHeaderException class

Exception that gets thrown if a decryption stream receives an invalid header.

If the first message that is decrypted by a decryption (pull) stream does not have the correct amout of bytes, this exception will be thrown.

Implemented types

Constructors

InvalidHeaderException(int expectedBytes, int actualBytes)

Properties

actualBytes int
final
expectedBytes int
final
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.
override

Operators

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