Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CacheReader

An instance to appropriately read opus packet

Hierarchy

  • Readable
    • CacheReader

Index

Constructors

Properties

Constructors

constructor

  • new CacheReader(packets: Packet[], file: Promise<FileHandle>, ms: number): CacheReader
  • Parameters

    • packets: Packet[]

      The array of packets

    • file: Promise<FileHandle>

      The file to read

    • ms: number

      Where to start reading (in ms)

    Returns CacheReader

Properties

packetRead

packetRead: number = 0

How many packets has been read (in ms)

Generated using TypeDoc