dco_decode_record_u_8_string method
Implementation
@protected
(int, String) dco_decode_record_u_8_string(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
final arr = raw as List<dynamic>;
if (arr.length != 2) {
throw Exception('Expected 2 elements, got ${arr.length}');
}
return (
dco_decode_u_8(arr[0]),
dco_decode_String(arr[1]),
);
}