static int allocationSize([String? value]) { if (value == null) { return 1; } return FfiConverterString.allocationSize(value) + 1; }