mirror of
https://code.sup39.dev/repos/Wqawg
synced 2025-03-20 04:46:22 +09:00
Binary request body decoder
This commit is contained in:
parent
e72284e182
commit
4381213446
3 changed files with 43 additions and 1 deletions
src/Data/Binary
|
@ -76,7 +76,6 @@ decodeIncremental
|
|||
-- value again from the same stream, pass the buffer to the next call of
|
||||
-- this function.
|
||||
decodeIncremental src readBytes buf decode = go buf $ runGetIncremental decode
|
||||
--readBytes <- requestBody <$> waiRequest
|
||||
where
|
||||
go _ (Fail remains consumed err) = do
|
||||
let df = DecodeFail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue