# `copyReadText`

*Function*

## Declaration

```swift
func copyReadText(_ line: UnsafePointer<CChar>!, _ length: Int, _ file: UnsafeMutablePointer<FILE>!, _ endChar: CChar) -> String!
```

```objc
NSString *copyReadText(const char *line, size_t length, FILE *file, char endChar);
```

```python
copyReadText(line: str, length: int, file: FILE, endChar: int) -> str
```

## See Also

### Text and Keys

- [`copyReadString`](/Core/GlyphsCore/copyReadString)
- [`copyReadQuotedString`](/Core/GlyphsCore/copyReadQuotedString)
- [`copyReadTextLine`](/Core/GlyphsCore/copyReadTextLine)
- [`copyReadKey`](/Core/GlyphsCore/copyReadKey)
- [`copyReadValue`](/Core/GlyphsCore/copyReadValue)
- [`skipWhite`](/Core/GlyphsCore/skipWhite)

