InMain

sealed trait InMain[A] extends In[A] with Main[A]
trait Main[A]
trait In[A]
trait InHandler
trait InOut
trait Resource
class Object
trait Matchable
class Any
trait InDMain
trait InIMain
trait InLMain

Type members

Inherited types

type E = E[A]
Inherited from:
In

Value members

Abstract methods

def copyTo(to: OutMain[A], len: Int): Unit

Directly copies len elements from this input to a given output.

Directly copies len elements from this input to a given output.

def nextN(a: Array[A], off: Int, len: Int): Unit

Reads the next len frames into the given array.

Reads the next len frames into the given array.

def skip(len: Int): Unit

Skips over the next len frames without using them.

Skips over the next len frames without using them.

Inherited methods

def advance(len: Int): Unit

Be sure you know what you are doing.

Be sure you know what you are doing.

Inherited from:
Main
def array: Array[A]

Be sure you know what you are doing. This should be called if efficient array access is needed, only after making sure that data is available. Valid array data starts at offset for available number of frames. To indicate that a number of frames has been used, finally call advance.

Be sure you know what you are doing. This should be called if efficient array access is needed, only after making sure that data is available. Valid array data starts at offset for available number of frames. To indicate that a number of frames has been used, finally call advance.

Inherited from:
Main
def available: Int

The number of further input or output frames available.

The number of further input or output frames available.

Inherited from:
InOut
def free(): Unit
Inherited from:
Resource
def hasNext: Boolean

Whether further input or output is available.

Whether further input or output is available.

Inherited from:
InOut
def inlet: Inlet[E]
Inherited from:
In
def isDone: Boolean
Inherited from:
Main
def next(): A

Returns the next input value and advances the internal offset. This may result in the old buffer being freed and a new buffer being grabbed, so one should always go back to check hasNext or available in the same loop, until the input is exhausted.

Returns the next input value and advances the internal offset. This may result in the old buffer being freed and a new buffer being grabbed, so one should always go back to check hasNext or available in the same loop, until the input is exhausted.

Inherited from:
In
def offset: Int

Be sure you know what you are doing.

Be sure you know what you are doing.

Inherited from:
Main
@throws(classOf[Exception])
def onPush(): Unit
Inherited from:
InHandler
@throws(classOf[Exception])
def onUpstreamFailure(ex: Throwable): Unit
Inherited from:
InHandler
@throws(classOf[Exception])
def onUpstreamFinish(): Unit
Inherited from:
InHandler
def peek: A

Returns the next input value without advancing the internal offset.

Returns the next input value without advancing the internal offset.

Inherited from:
In