Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Object literals

Variables

longType

longType: any = avro.types.LongType.__with({fromBuffer: (buf: any) => {return new Long(buf.readInt32LE(0), buf.readInt32LE(4))//return Long.fromBits(buf.readInt32LE(0), buf.readInt32LE(4))},toBuffer: (n: any) => {//const buf: any = Buffer.alloc(8)const buf: any = new Buffer(8)buf.writeInt32LE(n.getLowBits(), 0)buf.writeInt32LE(n.getHighBits(), 4)return buf},fromJSON: Long.fromValue,toJSON: (n: any) => {return +n},isValid: Long.isLong,compare: (n1: any, n2: any) => {return n1.compare(n2)}})

Object literals

Type

Type: object

forSchema

  • forSchema(schema: any): any
  • Parameters

    • schema: any

    Returns any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc