network-unexceptional-0.1.3.1: Network functions that do not throw exceptions
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Unexceptional.ByteArray

Synopsis

Documentation

receiveExactly Source #

Arguments

:: Socket 
-> Int

Exact number of bytes to receive, must be greater than zero

-> IO (Either Errno ByteArray) 

Blocks until an exact number of bytes has been received.