# `TDReader`

*Class*

## Declaration

```swift
class TDReader
```

```objc
@interface TDReader : NSObject
```

```python
class TDReader(NSObject)
```

## Overview

A character-stream reader that allows characters to be pushed back into the stream.

## Topics

### Instance Variables

- [`TDReader.cursor`](/Core/GlyphsKit/TDReader/cursor)
- [`TDReader.length`](/Core/GlyphsKit/TDReader/length)
- [`TDReader.string`](/Core/GlyphsKit/TDReader/string)

### Instance Properties

- [`TDReader.string`](/Core/GlyphsKit/TDReader/string-swift.property)

### Instance Methods

- [`TDReader initWithString:`](/Core/GlyphsKit/TDReader/initWithString:)
- [`TDReader read`](/Core/GlyphsKit/TDReader/read)
- [`TDReader unread`](/Core/GlyphsKit/TDReader/unread)

## Relationships

### Inherits From

- `NSObject`

