# `nullTerminatedASCIIDataWithString`

*Function*

## Declaration

```swift
func nullTerminatedASCIIDataWithString(_ string: String!) -> Data!
```

```objc
NSData *nullTerminatedASCIIDataWithString(NSString *string);
```

```python
nullTerminatedASCIIDataWithString(string: str) -> bytes
```

## See Also

- [`nullTerminatedASCIIDataWithPropertyList`](/Core/GlyphsCore/nullTerminatedASCIIDataWithPropertyList)
- [`dataWithPropertyList`](/Core/GlyphsCore/dataWithPropertyList)
- [`stringWithPropertyList`](/Core/GlyphsCore/stringWithPropertyList)
- [`stringWithPropertyListNoEscape`](/Core/GlyphsCore/stringWithPropertyListNoEscape)
- [`writePropertyListToFile`](/Core/GlyphsCore/writePropertyListToFile)
- [`writePropertyListToFileNoEscape`](/Core/GlyphsCore/writePropertyListToFileNoEscape)
- [`GSEncodeArray`](/Core/GlyphsCore/GSEncodeArray)
- [`GSEncodeString`](/Core/GlyphsCore/GSEncodeString)
- [`GSEncodePoint`](/Core/GlyphsCore/GSEncodePoint)
- [`GSEncodeFloat`](/Core/GlyphsCore/GSEncodeFloat)
- [`GSEncodeColor`](/Core/GlyphsCore/GSEncodeColor)
- [`GSFlattenDictionary`](/Core/GlyphsCore/GSFlattenDictionary)
- [`GSFlattenArray`](/Core/GlyphsCore/GSFlattenArray)

