Input

Companion:
class
class Object
trait Matchable
class Any
Input.type

Type members

Classlikes

final implicit class InputOps[Bytes](val underlying: Input[Bytes]) extends AnyVal
abstract class PaddingProvider[Bytes]
final case class Position(input: Input[_], index: Long)
trait Provider[T]

Responsible for converting an instance of T to a respective Input instance.

Responsible for converting an instance of T to a respective Input instance.

Inherited classlikes

object FromByteArrayProvider extends Provider[Array[Byte]]
Inherited from:
FromByteArrayInput
object FromByteBufferProvider extends Provider[ByteBuffer]
Inherited from:
FromByteBufferInput
object FromFileProvider extends Provider[File]
Inherited from:
FromFileInput

Value members

Inherited methods

def fromByteArray(value: Array[Byte]): Input[Array[Byte]]
Inherited from:
FromByteArrayInput
def fromByteBuffer(value: ByteBuffer): Input[Array[Byte]]
Inherited from:
FromByteBufferInput
def fromFile(file: File, bufferSize: Int): Input[Array[Byte]]
Inherited from:
FromFileInput
def fromInputStream(inputStream: InputStream, bufferSize: Int): Input[Array[Byte]]
Inherited from:
FromInputStreamInput
def fromIterator[Bytes : ByteAccess](value: Iterator[Input[Bytes]]): Input[Bytes]
Inherited from:
FromIteratorInput

Implicits

Implicits

final implicit def InputOps[Bytes](underlying: Input[Bytes]): InputOps[Bytes]
implicit def provider[B : ByteAccess]: Provider[Input[B]]

The trivial provider for an already existing Input.

The trivial provider for an already existing Input.

Inherited implicits

implicit def FromInputStreamProvider[T <: InputStream]: Provider[T]
Inherited from:
FromInputStreamInput
implicit def FromIteratorProvider[T](implicit p: Provider[T]): Provider[Iterator[T]]
Inherited from:
FromIteratorInput