Given a FileHandle[F]
, creates a Pull
which reads all data from the associated file.
Given a FileHandle[F]
, creates a Pull
which reads all data from the associated file.
(Since version 2.1.0) Use ReadCursor(h, 0L).readAll(chunkSize).void
(Since version 2.1.0) Use ReadCursor(h, start).readUntil(chunkSize, end).void
(Since version 2.1.0) Use ReadCursor(h, offset).tail(chunkSize, delay).void
Given a Stream[F, Byte]
and FileHandle[F]
, writes all data from the stream to the file.
Given a Stream[F, Byte]
and FileHandle[F]
, writes all data from the stream to the file.
(Since version 2.1.0) Use WriteCursor(out, 0).writeAll(in).void
Like writeAllToFileHandle
but takes an offset in to the file indicating where write should start.
Like writeAllToFileHandle
but takes an offset in to the file indicating where write should start.
(Since version 2.1.0) Use WriteCursor(out, offset).writeAll(in).void
Provides various
Pull
s for working with files.(Since version 2.1.0) Use ReadCursor/WriteCursor instead