module Rattletrap.Decode.BooleanAttribute
  ( decodeBooleanAttributeBits
  )
where

import Rattletrap.Decode.Common
import Rattletrap.Type.BooleanAttribute

decodeBooleanAttributeBits :: DecodeBits BooleanAttribute
decodeBooleanAttributeBits :: DecodeBits BooleanAttribute
decodeBooleanAttributeBits = Bool -> BooleanAttribute
BooleanAttribute (Bool -> BooleanAttribute)
-> BitGet Bool -> DecodeBits BooleanAttribute
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> BitGet Bool
getBool