static int allocationSize(List<String> value) { return value .map((l) => FfiConverterString.allocationSize(l)) .fold(0, (a, b) => a + b) + 4; }