M_forward method

Uint8List M_forward()
override

Implementation

Uint8List M_forward() {
    String rstr = this.value.toRadixString(2);
    while (rstr.length<64) {
        rstr = '0' + rstr;
    }
    List<int> bytes = [];
    for (int i=0;i<8;i++) {
        bytes.add(int.parse(rstr.substring(i*8, i*8+8), radix: 2));
    }
    return Uint8List.fromList(bytes.reversed.toList());
}