Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

...and export the symbols

  • Loading branch information...
commit 0fe8a54a6b19bc3af1fdca66b2ab49d6fe2271fc 1 parent dc56b5f
@gregorycollins gregorycollins authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/Snap/Iteratee.hs
View
3  src/Snap/Iteratee.hs
@@ -37,6 +37,8 @@ module Snap.Iteratee
, takeNoMoreThan
, countBytes
, bufferIteratee
+ , mkIterateeBuffer
+ , unsafeBufferIterateeWithBuffer
, unsafeBufferIteratee
) where
@@ -163,6 +165,7 @@ bUFSIZ :: Int
bUFSIZ = 8192
+-- | Creates a buffer to be passed into 'unsafeBufferIterateeWithBuffer'.
mkIterateeBuffer :: IO (ForeignPtr CChar)
mkIterateeBuffer = mallocForeignPtrBytes bUFSIZ
Please sign in to comment.
Something went wrong with that request. Please try again.