object pulls
- Alphabetic
- By Inheritance
- pulls
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromFileChannel[F[_]](channel: F[FileChannel], blockingExecutionContext: ExecutionContext)(implicit F: Sync[F], cs: ContextShift[F]): Pull[F, Nothing, Cancellable[F, FileHandle[F]]]
Given a
java.nio.channels.FileChannel
, will create aPull
which allows synchronous operations against the underlying file.Given a
java.nio.channels.FileChannel
, will create aPull
which allows synchronous operations against the underlying file.The
Pull
closes the providedjava.nio.channels.FileChannel
when it is done. -
def
fromPath[F[_]](path: Path, blockingExecutionContext: ExecutionContext, flags: Seq[OpenOption])(implicit F: Sync[F], cs: ContextShift[F]): Pull[F, Nothing, Cancellable[F, FileHandle[F]]]
Creates a
Pull
which allows synchronous file operations against the file at the specifiedjava.nio.file.Path
.Creates a
Pull
which allows synchronous file operations against the file at the specifiedjava.nio.file.Path
.The
Pull
closes the acquiredjava.nio.channels.FileChannel
when it is done. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
readAllFromFileHandle[F[_]](chunkSize: Int)(h: FileHandle[F]): Pull[F, Byte, Unit]
Given a
FileHandle[F]
, creates aPull
which reads all data from the associated file. - def readRangeFromFileHandle[F[_]](chunkSize: Int, start: Long, end: Long)(h: FileHandle[F]): Pull[F, Byte, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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. -
def
writeAllToFileHandleAtOffset[F[_]](in: Stream[F, Byte], out: FileHandle[F], offset: Long): Pull[F, Nothing, Unit]
Like
writeAllToFileHandle
but takes an offset in to the file indicating where write should start.