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 11import DataReader from "./data_reader.ts" ;
22
33/**
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
67 */
78export default class BinaryReader extends DataReader {
89 private readonly bufferView : DataViewConstructor ;
9-
10+
1011 /**
1112 * @param buffer The buffer to read from
1213 */
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+ */
15export default class DataReader {
26 public readonly buffer : ArrayBuffer ;
37 public pointer : number = 0 ;
You can’t perform that action at this time.
0 commit comments