module Data.TypeID.V5.Unsafe
(
unsafeGenTypeID
, unsafeParseString
, unsafeParseText
, unsafeParseByteString
, unsafeString2ID
, unsafeText2ID
, unsafeByteString2ID
) where
import Data.ByteString.Lazy (ByteString)
import Data.Text (Text)
import Data.TypeID.Class
import qualified Data.TypeID.Internal as TID
import Data.TypeID.V5 (TypeIDV5)
import Data.UUID.Types.Internal (UUID)
import Data.Word
unsafeGenTypeID :: Text -> UUID -> [Word8] -> TypeIDV5
unsafeGenTypeID :: Text -> UUID -> [Word8] -> TypeIDV5
unsafeGenTypeID = Text -> UUID -> [Word8] -> TypeIDV5
TID.unsafeGenTypeIDV5
{-# INLINE unsafeGenTypeID #-}
unsafeParseString :: String -> TypeIDV5
unsafeParseString :: String -> TypeIDV5
unsafeParseString = String -> TypeIDV5
forall (version :: UUIDVersion). String -> TypeID' version
TID.unsafeParseString
{-# INLINE unsafeParseString #-}
unsafeParseText :: Text -> TypeIDV5
unsafeParseText :: Text -> TypeIDV5
unsafeParseText = Text -> TypeIDV5
forall (version :: UUIDVersion). Text -> TypeID' version
TID.unsafeParseText
{-# INLINE unsafeParseText #-}
unsafeParseByteString :: ByteString -> TypeIDV5
unsafeParseByteString :: ByteString -> TypeIDV5
unsafeParseByteString = ByteString -> TypeIDV5
forall (version :: UUIDVersion). ByteString -> TypeID' version
TID.unsafeParseByteString
{-# INLINE unsafeParseByteString #-}