# StringWriteStream

StringWriteStream inherits from WriteStream and defines no instance variables. It has no subclasses.

StringWriteStream is optimized for streaming over strings.
This is *much* faster than the ordinary WriteStream since the primitives avoid several levels of indirection necessary when dealing with ordinary collections. StringWriteStreams will be created automatically when streaming over Strings.

## Methods defined in StringWriteStream:

### Methods for stream operations:

- nextPut: character
- nextPutAll: string

Pocket Smalltalk Documentation