| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.IO.Utils.RandomAccess
Documentation
Instances
class Monad m => RandomAccess (m :: Type -> Type) where Source #
Minimal complete definition
Methods
readBytes :: Range -> m ByteString Source #
readRanges :: [Range] -> m [ByteString] Source #
readSuffix :: Int -> m ByteString Source #
Instances
| RandomAccess LocalFile Source # | |
Defined in DataFrame.IO.Utils.RandomAccess Methods readBytes :: Range -> LocalFile ByteString Source # readRanges :: [Range] -> LocalFile [ByteString] Source # readSuffix :: Int -> LocalFile ByteString Source # | |
| RandomAccess MMappedFile Source # | |
Defined in DataFrame.IO.Utils.RandomAccess Methods readBytes :: Range -> MMappedFile ByteString Source # readRanges :: [Range] -> MMappedFile [ByteString] Source # readSuffix :: Int -> MMappedFile ByteString Source # | |
Constructors
| ReaderIO | |
Fields
| |
Instances
| RandomAccess LocalFile Source # | |
Defined in DataFrame.IO.Utils.RandomAccess Methods readBytes :: Range -> LocalFile ByteString Source # readRanges :: [Range] -> LocalFile [ByteString] Source # readSuffix :: Int -> LocalFile ByteString Source # | |
| RandomAccess MMappedFile Source # | |
Defined in DataFrame.IO.Utils.RandomAccess Methods readBytes :: Range -> MMappedFile ByteString Source # readRanges :: [Range] -> MMappedFile [ByteString] Source # readSuffix :: Int -> MMappedFile ByteString Source # | |
| MonadIO (ReaderIO r) Source # | |
Defined in DataFrame.IO.Utils.RandomAccess | |
| Applicative (ReaderIO r) Source # | |
Defined in DataFrame.IO.Utils.RandomAccess | |
| Functor (ReaderIO r) Source # | |
| Monad (ReaderIO r) Source # | |
type MMappedFile = ReaderIO (Vector Word8) Source #
unsafeToByteString :: Vector Word8 -> ByteString Source #