Module
Data.Binary.SignedInt
- Package
- purescript-binary
- Repository
- Unisay/purescript-binary
#fromUnsigned Source
fromUnsigned :: forall b a. Pos a => Pos b => Gt b D2 => Lt a b => UnsignedInt a -> SignedInt b
#fromUnsignedUnsafe Source
fromUnsignedUnsafe :: forall b a. Pos a => Pos b => UnsignedInt a -> SignedInt b
#tryFromUnsigned Source
tryFromUnsigned :: forall b. Pos b => UnsignedInt b -> Maybe (SignedInt b)
#toUnsigned Source
toUnsigned :: forall b. Pos b => SignedInt b -> UnsignedInt b
#positiveToUnsigned Source
positiveToUnsigned :: forall b. Pos b => SignedInt b -> Maybe (UnsignedInt b)
#isNegative Source
isNegative :: forall a. Binary a => a -> Boolean
#complement Source
complement :: forall b. SignedInt b -> SignedInt b