CborListOutput

halotukozak.mcodec.CborListOutput
final class CborListOutput(out: ByteArrayOutputStream) extends ListOutput

Attributes

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

Members list

Value members

Concrete methods

override def declareSize(size: Int): Unit

Attributes

Definition Classes
Source
CborOutput.scala
def finish(): Unit

Attributes

Source
CborOutput.scala
override 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

Definition Classes
Source
CborOutput.scala

Attributes

Source
CborOutput.scala

Inherited methods

def hasMarker(marker: Marker): Boolean

Attributes

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

Attributes

Inherited from:
SequentialOutput
Source
Output.scala