SequentialOutput

halotukozak.mcodec.SequentialOutput

Attributes

Source
Output.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def finish(): Unit

Attributes

Source
Output.scala

Concrete methods

def declareSize(size: Int): Unit

Attributes

Source
Output.scala
def hasMarker(marker: Marker): Boolean

Attributes

Source
Output.scala
def knownSize: Int

Attributes

Source
Output.scala
def wantsDeclaredSize: Boolean

Whether declareSize actually influences the output. Backends that ignore it (JSON) or back-patch the length (BSON) return false, letting a codec skip an otherwise-wasted pre-count pass; length-prefixed backends (CBOR) return true.

Whether declareSize actually influences the output. Backends that ignore it (JSON) or back-patch the length (BSON) return false, letting a codec skip an otherwise-wasted pre-count pass; length-prefixed backends (CBOR) return true.

Attributes

Source
Output.scala