| Safe Haskell | None |
|---|
CPython.Types.Bytes
Documentation
toBytes :: ByteString -> IO BytesSource
fromBytes :: Bytes -> IO ByteStringSource
fromObject :: Object self => self -> IO BytesSource
Create a new byte string from any object which implements the buffer protocol.