src/Codec/Goat/TimeFrame/Types.hs
Use <$> Open
Open
get = do
x <- getMaybeOf getWord32be
y <- getMaybeOf getWord32be
len <- getWord32be
bs <- aiGetByteString
- Read upRead up
- Exclude checks
Found
do x <- getMaybeOf getWord32be
y <- getMaybeOf getWord32be
len <- getWord32be
bs <- aiGetByteString
return $ TimeFrame x y len bs
Perhaps
do x <- getMaybeOf getWord32be
y <- getMaybeOf getWord32be
len <- getWord32be
TimeFrame x y len <$> aiGetByteString