Initial commit

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dinlo
2026-05-31 18:44:04 +08:00
commit 436a9631fc
8616 changed files with 1389957 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import ArrayFormatBase from './ArrayFormatBase.js';
export interface ImageDataDirectory {
virtualAddress: number;
size: number;
}
export default class ImageDataDirectoryArray extends ArrayFormatBase<ImageDataDirectory> {
static readonly size = 128;
static readonly itemSize = 8;
readonly length = 16;
private constructor();
/** @note This does not clone binary data; the changes to the array will modify the specified buffer `bin` */
static from(bin: ArrayBuffer, offset?: number): ImageDataDirectoryArray;
get(index: number): Readonly<ImageDataDirectory>;
set(index: number, data: ImageDataDirectory): void;
findIndexByVirtualAddress(virtualAddress: number): number | null;
}