build method

Uint8List build()

これまでに積んだActionRecord列の末尾にオペコード0x00(アクション列の終端 マーカー)を1byte追加し、DoActionタグのボディとして使えるバイト列を返す。

Implementation

Uint8List build() => Uint8List.fromList([..._bytes, 0]);