mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-14 06:00:39 +00:00
11 lines
302 B
Agda
11 lines
302 B
Agda
|
module FFI.Data.Text.Encoding where
|
||
|
|
||
|
open import Agda.Builtin.String using (String)
|
||
|
|
||
|
open import FFI.Data.ByteString using (ByteString)
|
||
|
|
||
|
{-# FOREIGN GHC import qualified Data.Text.Encoding #-}
|
||
|
|
||
|
postulate encodeUtf8 : String → ByteString
|
||
|
{-# COMPILE GHC encodeUtf8 = Data.Text.Encoding.encodeUtf8 #-}
|