We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 141fbff commit 901a028Copy full SHA for 901a028
index.d.ts
@@ -95,13 +95,13 @@ declare module 'dicom-parser' {
95
attributeTag: (tag: string) => string;
96
}
97
98
- export interface ByteStream {
+ export class ByteStream {
99
byteArray: ByteArray;
100
byteArrayParser: ByteArrayParser;
101
position: number;
102
warnings: string[];
103
104
- new (byteArrayParser: ByteArrayParser, byteArray: ByteArray, position: number): ByteStream;
+ constructor(byteArrayParser: ByteArrayParser, byteArray: ByteArray, position: number): ByteStream;
105
seek: (offset: number) => void;
106
readByteStream: (numBytes: number) => ByteStream;
107
readUint16: () => number;
0 commit comments