VStreamChunk

avokka.velocystream.VStreamChunk
See theVStreamChunk companion object
final case class VStreamChunk(header: VStreamChunkHeader, data: ByteVector)

chunk of message

Value parameters

data

chunk payload

header

header to reassemble message

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def split(length: Long): (VStreamChunk, Option[VStreamChunk])

split chunk data at length bytes

split chunk data at length bytes

Value parameters

length

max number of bytes of data

Attributes

Returns

chunk and optionally remainder

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product