toBytes method

  1. @override
List<int> toBytes()
override

Implementation

@override
List<int> toBytes() {
  final tmp = v.toBytes().clone();
  final u = this.u.toBytes();

  // Encode the sign of the u-coordinate in the most
  // significant bit.
  tmp[31] |= (u[0] << 7).toU8;
  return tmp;
}