packages feed

network-byte-order 0.1.1.0 → 0.1.1.1

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/ByteOrder.hs view
@@ -461,7 +461,7 @@ -- | Allocate a temporary buffer and copy the result to 'ByteString'. withWriteBuffer :: BufferSize -> (WriteBuffer -> IO ()) -> IO ByteString withWriteBuffer siz action = bracket (mallocBytes siz) free $ \buf -> do-    wbuf <- newWriteBuffer buf 4096+    wbuf <- newWriteBuffer buf siz     action wbuf     toByteString wbuf @@ -594,6 +594,7 @@     ff rbuf 4     return w32 +-- | Buffer overrun exception. data BufferOverrun = BufferOverrun -- ^ The buffer size is not enough                      deriving (Eq,Show,Typeable) 
network-byte-order.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                network-byte-order-version:             0.1.1.0+version:             0.1.1.1 synopsis:            Network byte order utilities description:         Peek and poke functions for network byte order. license:             BSD3