Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created January 19, 2023 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/fa7f0ac34dcca93e66c99f6e81f6426c to your computer and use it in GitHub Desktop.
Save exarkun/fa7f0ac34dcca93e66c99f6e81f6426c to your computer and use it in GitHub Desktop.
decode :: IO (Either DecodeError [B.ByteString])
decode = do
-- Allocate enough memory to store pointers to all of the output data
allocaBytes 16 $ \decodedBlocks -> do
pure $ Right []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment