dco_decode_coord method
Implementation
@protected
Coord dco_decode_coord(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
final arr = raw as List<dynamic>;
if (arr.length != 2)
throw Exception('unexpected arr length: expect 2 but see ${arr.length}');
return Coord(
x: dco_decode_f_32(arr[0]),
y: dco_decode_f_32(arr[1]),
);
}