BsonValueOutput

halotukozak.mcodec.BsonValueOutput
final class BsonValueOutput(buf: BsonBuffer, name: String) extends OutputAndSimpleOutput, BsonExtOutput

A field/element value position. Unlike CBOR, a BSON element is `` — the tag precedes the name, but we only learn the type once the codec calls one of the write* methods below. So the tag + name are emitted lazily, on first write.

Attributes

Source
BsonOutput.scala
Graph
Supertypes
trait SimpleOutput
trait Output
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def writeBigDecimal(b: BigDecimal): Unit

Attributes

Source
BsonOutput.scala
def writeBigInt(b: BigInt): Unit

Attributes

Source
BsonOutput.scala
override def writeBinary(bytes: Array[Byte]): Unit

Attributes

Definition Classes
Source
BsonOutput.scala
def writeBoolean(b: Boolean): Unit

Attributes

Source
BsonOutput.scala
def writeDouble(d: Double): Unit

Attributes

Source
BsonOutput.scala
def writeInt(i: Int): Unit

Attributes

Source
BsonOutput.scala
def writeJsCode(code: String): Unit

Attributes

Source
BsonOutput.scala

Attributes

Source
BsonOutput.scala
def writeLong(l: Long): Unit

Attributes

Source
BsonOutput.scala
def writeMaxKey(): Unit

Attributes

Source
BsonOutput.scala
def writeMinKey(): Unit

Attributes

Source
BsonOutput.scala
def writeNull(): Unit

Attributes

Source
BsonOutput.scala

Attributes

Source
BsonOutput.scala
def writeObjectId(bytes: Array[Byte]): Unit

Attributes

Source
BsonOutput.scala
def writeRegexValue(pattern: String, options: String): Unit

Attributes

Source
BsonOutput.scala
def writeString(s: String): Unit

Attributes

Source
BsonOutput.scala
override def writeTimestamp(millis: Long): Unit

Attributes

Definition Classes
Source
BsonOutput.scala

Inherited methods

def hasMarker(marker: Marker): Boolean

Attributes

Inherited from:
Output
Source
Output.scala
def writeByte(b: Byte): Unit

Attributes

Inherited from:
SimpleOutput
Source
Output.scala
def writeChar(c: Char): Unit

Attributes

Inherited from:
SimpleOutput
Source
Output.scala
def writeFloat(f: Float): Unit

Attributes

Inherited from:
SimpleOutput
Source
Output.scala
def writeShort(s: Short): Unit

Attributes

Inherited from:
SimpleOutput
Source
Output.scala
final def writeSimple(): SimpleOutput

Attributes

Inherited from:
OutputAndSimpleOutput
Source
Output.scala