( manifestData: Uint8Array, )
| 54 | * Parses and validates a DXT manifest from raw binary data. |
| 55 | */ |
| 56 | export async function parseAndValidateManifestFromBytes( |
| 57 | manifestData: Uint8Array, |
| 58 | ): Promise<McpbManifest> { |
| 59 | const manifestText = new TextDecoder().decode(manifestData) |
| 60 | return parseAndValidateManifestFromText(manifestText) |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Generates an extension ID from author name and extension name. |
no test coverage detected