[Boost-users] IOStream: Determine number of bytes written to array sink