Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BsonReader

Hierarchy

  • BsonReader

Implements

Index

Constructors

constructor

  • new BsonReader(bson: "/home/travis/build/demurgos/kryo/node_modules/@types/bson/index", trust?: undefined | false | true, primitiveWrapper?: string): BsonReader
  • Parameters

    • bson: "/home/travis/build/demurgos/kryo/node_modules/@types/bson/index"
    • Optional trust: undefined | false | true
    • Default value primitiveWrapper: string = "_"

    Returns BsonReader

Properties

Private bson

bson: "/home/travis/build/demurgos/kryo/node_modules/@types/bson/index"

Private primitiveWrapper

primitiveWrapper: string

Optional trustInput

trustInput: boolean | undefined

Private valueReader

valueReader: BsonValueReader

Methods

readAny

readBoolean

  • readBoolean<R>(raw: Buffer, visitor: ReadVisitor<R>): R

readBytes

  • readBytes<R>(raw: Buffer, visitor: ReadVisitor<R>): R

readDate

readDocument

  • readDocument<R>(raw: any, visitor: ReadVisitor<R>): R

readFloat64

  • readFloat64<R>(raw: Buffer, visitor: ReadVisitor<R>): R

readList

readMap

readNull

readString

  • readString<R>(raw: Buffer, visitor: ReadVisitor<R>): R

Generated using TypeDoc