ByteWord class
16 位字(word):高低字节拆装。
值对象,构造时校验值域(0..0xFFFF,越界抛 ArgumentError);
序列化端序在 bytes 处显式指定,默认 little-endian。
Properties
Methods
-
bytes(
{Endian endian = Endian.little}) → Uint8List - 按指定端序序列化为 2 字节。
-
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