rblaze/bond-haskell

View on GitHub
runtime/src/Data/Bond/Internal/SimpleBinaryProto.hs

Summary

Maintainability
Test Coverage

Reduce duplication
Open

        stream <- either throwError return $ bondMarshal CompactBinaryProto v

Found

stream <- either throwError return $
            bondMarshal CompactBinaryProto v
putWord32le $ fromIntegral $ BL.length stream
putLazyByteString stream

Perhaps

Combine with runtime/src/Data/Bond/Internal/SimpleBinaryProto.hs:262:9

Reduce duplication
Open

        size <- getWord32le

Found

size <- getWord32le
bs <- getLazyByteString (fromIntegral size)
return $ BondedStream bs

Perhaps

Combine with runtime/src/Data/Bond/Internal/SimpleBinaryProto.hs:216:9

There are no issues that match your filters.

Category
Status