object pulls
Provides various Pulls for working with files.
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use ReadCursor/WriteCursor instead
- Source
- pulls.scala
- Alphabetic
- By Inheritance
- pulls
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def readAllFromFileHandle[F[_]](chunkSize: Int)(h: FileHandle[F]): Pull[F, Byte, Unit]
Given a
FileHandle[F], creates aPullwhich reads all data from the associated file.Given a
FileHandle[F], creates aPullwhich reads all data from the associated file.- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use ReadCursor(h, 0L).readAll(chunkSize).void
- def readRangeFromFileHandle[F[_]](chunkSize: Int, start: Long, end: Long)(h: FileHandle[F]): Pull[F, Byte, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use ReadCursor(h, start).readUntil(chunkSize, end).void
- def tailFromFileHandle[F[_]](chunkSize: Int, offset: Long, delay: FiniteDuration)(h: FileHandle[F])(implicit arg0: Timer[F]): Pull[F, Byte, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use ReadCursor(h, offset).tail(chunkSize, delay).void
- def writeAllToFileHandle[F[_]](in: Stream[F, Byte], out: FileHandle[F]): Pull[F, Nothing, Unit]
Given a
Stream[F, Byte]andFileHandle[F], writes all data from the stream to the file.Given a
Stream[F, Byte]andFileHandle[F], writes all data from the stream to the file.- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use WriteCursor(out, 0).writeAll(in).void
- def writeAllToFileHandleAtOffset[F[_]](in: Stream[F, Byte], out: FileHandle[F], offset: Long): Pull[F, Nothing, Unit]
Like
writeAllToFileHandlebut takes an offset in to the file indicating where write should start.Like
writeAllToFileHandlebut takes an offset in to the file indicating where write should start.- Annotations
- @deprecated
- Deprecated
(Since version 2.1.0) Use WriteCursor(out, offset).writeAll(in).void