Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PeerLocated

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { peer: TypePeer; expires: number; distance: number }

Type declaration

  • peer: TypePeer
  • expires: number
  • distance: number
CONSTRUCTOR_ID: 3393592157
SUBCLASS_OF_ID: 4208604332
classType: "constructor"
className: "PeerLocated"
peer: TypePeer
expires: number
distance: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { peer: TypePeer; expires: number; distance: number }

Constructors

Generated using TypeDoc