edicl/flexi-streams — pull request #11 by avodonosov (2013-12-27 16:55:21+00:00)
Title: Don't reset COLUMN to NIL

This merge fixes issue #10 and adds a testsuite capturing issue #10 and passing when the issue is fixed.

Normally, flexi-streams reset COLUMN to NIL when user performs a binary output, as there is not sensible way to update COLUMN after binary output.

The problem in issue #10 is that COLUMN slot is reset to NIL even if user performs a character output.

For example user calls `(cl:format flexi-stream )` which calls `(flex:stream-write-sequence flexi-stream )` which calls `(flex::write-sequence* flexi-stream )` which encodes characters to octets and calls `(flex:stream-write-sequence flexi-stream )`.

The last `flex:stream-write-sequence flexi-stream` sees binary array and thinks it is passed by user.

The solution is to pass the octets array directly to the underlying binary stream.