module Rattletrap.Decode.Int64le
  ( decodeInt64leBits
  )
where

import Rattletrap.Decode.Common
import Rattletrap.Type.Int64le

decodeInt64le :: Decode Int64le
decodeInt64le :: Decode Int64le
decodeInt64le = Int64 -> Int64le
Int64le (Int64 -> Int64le) -> Get Int64 -> Decode Int64le
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Get Int64
getInt64le

decodeInt64leBits :: DecodeBits Int64le
decodeInt64leBits :: DecodeBits Int64le
decodeInt64leBits = Decode Int64le -> Int -> DecodeBits Int64le
forall a. Decode a -> Int -> DecodeBits a
toBits Decode Int64le
decodeInt64le Int
8