File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
import DataReader from "./data_reader.ts" ;
2
2
3
3
/**
4
- * This class represents a binary reader. It is similar to DataView but has an internal pointer to
5
- * automatically pop the bytes that have been already read.
4
+ * This class represents a binary reader.
5
+ *
6
+ * @extends DataReader
6
7
*/
7
8
export default class BinaryReader extends DataReader {
8
9
private readonly bufferView : DataViewConstructor ;
9
-
10
+
10
11
/**
11
12
* @param buffer The buffer to read from
12
13
*/
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This class represents a binary reader. It is similar to DataView but has an internal pointer to
3
+ * automatically pop the bytes that have been already read.
4
+ */
1
5
export default class DataReader {
2
6
public readonly buffer : ArrayBuffer ;
3
7
public pointer : number = 0 ;
You can’t perform that action at this time.
0 commit comments