BsonListOutput

halotukozak.mcodec.BsonListOutput
final class BsonListOutput(buf: BsonBuffer) extends ListOutput

Attributes

Source
BsonOutput.scala
Graph
Supertypes
trait ListOutput
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def finish(): Unit

Attributes

Source
BsonOutput.scala

Attributes

Source
BsonOutput.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