ObjectOutput

halotukozak.mcodec.ObjectOutput

Attributes

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

Members list

Value members

Abstract methods

def writeField(key: String): Output

Attributes

Source
Output.scala

Inherited methods

def declareSize(size: Int): Unit

Attributes

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

Attributes

Inherited from:
SequentialOutput
Source
Output.scala
def knownSize: Int

Attributes

Inherited from:
SequentialOutput
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

Inherited from:
SequentialOutput
Source
Output.scala

Inherited and Abstract methods

def finish(): Unit

Attributes

Inherited from:
SequentialOutput
Source
Output.scala