Commits

Bryan O'Sullivan committed e4b25a1

Unstream with the proper chunk size.

  • Participants
  • Parent commits 2fa6ad9

Comments (0)

Files changed (1)

File Data/Text/Lazy/Encoding/Fusion.hs

 
 -- | /O(n)/ Convert a 'Stream' 'Word8' to a lazy 'ByteString'.
 unstream :: Stream Word8 -> ByteString
-unstream = unstreamChunks 64
+unstream = unstreamChunks defaultChunkSize
 
 encodingError :: String -> String -> a
 encodingError func encoding =