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

abstract class PaddingProvider[Bytes]

Attributes

Supertypes
class Object
trait Matchable
class Any
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

Givens

Givens

given given_Provider_Input[B](using ba: ByteAccess[B]): given_Provider_Input[B]

The trivial provider for an already existing Input.

The trivial provider for an already existing Input.

Attributes

Inherited givens

Attributes

Inherited from:
FromByteArrayInput

Attributes

Inherited from:
FromByteBufferInput

Attributes

Inherited from:
FromFileInput
given FromInputStreamProvider[T <: InputStream]: Provider[T]

Attributes

Inherited from:
FromInputStreamInput
given given_Provider_Iterator[T](using p: Provider[T]): Provider[Iterator[T]]

Attributes

Inherited from:
FromIteratorInput

Extensions

Extensions

extension [Bytes](underlying: Input[Bytes])
def position(cursor: Long): Position