Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace McapTypes

Index

Type aliases

Attachment: { createTime: bigint; data: Uint8Array; logTime: bigint; mediaType: string; name: string }

Type declaration

  • createTime: bigint
  • data: Uint8Array
  • logTime: bigint
  • mediaType: string
  • name: string
AttachmentIndex: { createTime: bigint; dataSize: bigint; length: bigint; logTime: bigint; mediaType: string; name: string; offset: bigint }

Type declaration

  • createTime: bigint
  • dataSize: bigint
  • length: bigint
  • logTime: bigint
  • mediaType: string
  • name: string
  • offset: bigint
Channel: { id: number; messageEncoding: string; metadata: Map<string, string>; schemaId: number; topic: string }

Type declaration

  • id: number
  • messageEncoding: string
  • metadata: Map<string, string>
  • schemaId: number
  • topic: string
Chunk: { compression: string; messageEndTime: bigint; messageStartTime: bigint; records: Uint8Array; uncompressedCrc: number; uncompressedSize: bigint }

Type declaration

  • compression: string
  • messageEndTime: bigint
  • messageStartTime: bigint
  • records: Uint8Array
  • uncompressedCrc: number
  • uncompressedSize: bigint
ChunkIndex: { chunkLength: bigint; chunkStartOffset: bigint; compressedSize: bigint; compression: string; messageEndTime: bigint; messageIndexLength: bigint; messageIndexOffsets: Map<number, bigint>; messageStartTime: bigint; uncompressedSize: bigint }

Type declaration

  • chunkLength: bigint
  • chunkStartOffset: bigint
  • compressedSize: bigint
  • compression: string
  • messageEndTime: bigint
  • messageIndexLength: bigint
  • messageIndexOffsets: Map<number, bigint>
  • messageStartTime: bigint
  • uncompressedSize: bigint
DataEnd: { dataSectionCrc: number }

Type declaration

  • dataSectionCrc: number
DecompressHandlers: {}

Type declaration

  • [compression: string]: (buffer: Uint8Array, decompressedSize: bigint) => Uint8Array
      • (buffer: Uint8Array, decompressedSize: bigint): Uint8Array
      • Parameters

        • buffer: Uint8Array
        • decompressedSize: bigint

        Returns Uint8Array

Footer: { summaryCrc: number; summaryOffsetStart: bigint; summaryStart: bigint }

Type declaration

  • summaryCrc: number
  • summaryOffsetStart: bigint
  • summaryStart: bigint
Header: { library: string; profile: string }

Type declaration

  • library: string
  • profile: string
McapMagic: { specVersion: "0" }

Type declaration

  • specVersion: "0"
McapRecord: Values<McapRecords>
McapRecords: { Attachment: Attachment; AttachmentIndex: AttachmentIndex; Channel: Channel; Chunk: Chunk; ChunkIndex: ChunkIndex; DataEnd: DataEnd; Footer: Footer; Header: Header; Message: Message; MessageIndex: MessageIndex; Metadata: Metadata; MetadataIndex: MetadataIndex; Schema: Schema; Statistics: Statistics; SummaryOffset: SummaryOffset; Unknown: UnknownRecord }

Type declaration

Message: { channelId: number; data: Uint8Array; logTime: bigint; publishTime: bigint; sequence: number }

Type declaration

  • channelId: number
  • data: Uint8Array
  • logTime: bigint
  • publishTime: bigint
  • sequence: number
MessageIndex: { channelId: number; records: [logTime: bigint, offset: bigint][] }

Type declaration

  • channelId: number
  • records: [logTime: bigint, offset: bigint][]
Metadata: { metadata: Map<string, string>; name: string }

Type declaration

  • metadata: Map<string, string>
  • name: string
MetadataIndex: { length: bigint; name: string; offset: bigint }

Type declaration

  • length: bigint
  • name: string
  • offset: bigint
Schema: { data: Uint8Array; encoding: string; id: number; name: string }

Type declaration

  • data: Uint8Array
  • encoding: string
  • id: number
  • name: string
Statistics: { attachmentCount: number; channelCount: number; channelMessageCounts: Map<number, bigint>; chunkCount: number; messageCount: bigint; messageEndTime: bigint; messageStartTime: bigint; metadataCount: number; schemaCount: number }

Type declaration

  • attachmentCount: number
  • channelCount: number
  • channelMessageCounts: Map<number, bigint>
  • chunkCount: number
  • messageCount: bigint
  • messageEndTime: bigint
  • messageStartTime: bigint
  • metadataCount: number
  • schemaCount: number
SummaryOffset: { groupLength: bigint; groupOpcode: number; groupStart: bigint }

Type declaration

  • groupLength: bigint
  • groupOpcode: number
  • groupStart: bigint
TypedMcapRecord: Values<TypedMcapRecords>
TypedMcapRecords: { [ R in keyof McapRecords]: McapRecords[R] & { type: R } }
UnknownRecord: { data: Uint8Array; opcode: number }

Type declaration

  • data: Uint8Array
  • opcode: number

Generated using TypeDoc