hercules-ci-agent-0.10.1: Runs Continuous Integration tasks on your machines
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.Agent.Binary

Synopsis

Documentation

decodeBinaryFromHandle :: Binary a => Handle -> IO (Either (ByteString, ByteOffset, String) a) Source #

Decode a value from a Handle. Returning Left on failure and Right on success. In case of failure, the unconsumed input and a human-readable error message will be returned.