Input

io.bullet.borer.Input
See theInput companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
Input.type

Members list

Type members

Classlikes

final implicit class InputOps[Bytes](val underlying: Input[Bytes]) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
abstract class PaddingProvider[Bytes]

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class Position(input: Input[_], index: Long)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FromByteArrayProvider.type
object FromFileProvider.type

Inherited classlikes

object FromByteArrayProvider extends Provider[Array[Byte]]

Attributes

Inherited from:
FromByteArrayInput
Supertypes
trait Provider[Array[Byte]]
class Object
trait Matchable
class Any
object FromByteBufferProvider extends Provider[ByteBuffer]

Attributes

Inherited from:
FromByteBufferInput
Supertypes
trait Provider[ByteBuffer]
class Object
trait Matchable
class Any
object FromFileProvider extends Provider[File]

Attributes

Inherited from:
FromFileInput
Supertypes
trait Provider[File]
class Object
trait Matchable
class Any

Value members

Inherited methods

def fromByteArray(value: Array[Byte]): Input[Array[Byte]]

Attributes

Inherited from:
FromByteArrayInput
def fromByteBuffer(value: ByteBuffer): Input[Array[Byte]]

Attributes

Inherited from:
FromByteBufferInput
def fromFile(file: File, bufferSize: Int): Input[Array[Byte]]

Attributes

Inherited from:
FromFileInput
def fromInputStream(inputStream: InputStream, bufferSize: Int): Input[Array[Byte]]

Attributes

Inherited from:
FromInputStreamInput
def fromIterator[Bytes : ByteAccess](value: Iterator[Input[Bytes]]): Input[Bytes]

Attributes

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.

Attributes

Inherited implicits

implicit def FromInputStreamProvider[T <: InputStream]: Provider[T]

Attributes

Inherited from:
FromInputStreamInput
implicit def FromIteratorProvider[T](implicit p: Provider[T]): Provider[Iterator[T]]

Attributes

Inherited from:
FromIteratorInput