encodeInstruction<T extends Enum> method

  1. @override
Iterable<int> encodeInstruction<T extends Enum>(
  1. T instruction
)
override

Encodes the program instruction.

Implementation

@override
Iterable<int> encodeInstruction<T extends Enum>(final T instruction) =>
    Buffer.fromUint32(instruction.index);