Hi @epatey!

Why here and on line 449 `availableSpace` is subtracted from `preBufferSize`? This gives you

```objc
preBufferSize - (preBufferSize - (writePointer - preBuffer)) = writePointer - preBuffer
```