MigrationUtils class

A utility class for migrating ByteDatas or ByteBufs.

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

copyTo(ByteBuf a, ByteBuf b) → void
Copies the contents of a into b. Does ignore the writer index of b.
migrate(ByteData original, int newCapacity) ByteData
Migrates a ByteData to a new capacity.
readTo(ByteBuf a, ByteBuf b) → void
Reads the contents of a into b using ByteBuf.readByte of a. Does ignore the writer index of b.