Options
All
  • Public
  • Public/Protected
  • All
Menu

Class McapIndexedReader

Hierarchy

  • McapIndexedReader

Index

Constructors

Properties

attachmentIndexes: readonly (AttachmentIndex & { type: "AttachmentIndex" })[]
channelsById: ReadonlyMap<number, Channel & { type: "Channel" }>
chunkIndexes: readonly (ChunkIndex & { type: "ChunkIndex" })[]
decompressHandlers?: DecompressHandlers
endTime: undefined | bigint
footer: Footer & { type: "Footer" }
header: Header & { type: "Header" }
metadataIndexes: readonly (MetadataIndex & { type: "MetadataIndex" })[] = []
readable: IReadable
schemasById: ReadonlyMap<number, Schema & { type: "Schema" }>
startTime: undefined | bigint
statistics: undefined | (Statistics & { type: "Statistics" })
summaryOffsetsByOpcode: ReadonlyMap<number, SummaryOffset & { type: "SummaryOffset" }>

Methods

  • errorWithLibrary(message: string): Error
  • loadChunkData(chunkIndex: ChunkIndex & { type: "ChunkIndex" }): Promise<DataView>
  • readMessages(args?: { endTime?: bigint; reverse?: boolean; startTime?: bigint; topics?: readonly string[] }): AsyncGenerator<Message & { type: "Message" }, void, void>
  • Parameters

    • args: { endTime?: bigint; reverse?: boolean; startTime?: bigint; topics?: readonly string[] } = {}
      • Optional endTime?: bigint
      • Optional reverse?: boolean
      • Optional startTime?: bigint
      • Optional topics?: readonly string[]

    Returns AsyncGenerator<Message & { type: "Message" }, void, void>

Generated using TypeDoc