bireader 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +174 -80
- package/lib/cjs/src/common.js +461 -0
- package/lib/cjs/src/common.js.map +1 -0
- package/lib/cjs/src/reader.js +287 -368
- package/lib/cjs/src/reader.js.map +1 -1
- package/lib/cjs/src/writer.js +449 -625
- package/lib/cjs/src/writer.js.map +1 -1
- package/lib/cjs/types/src/common.d.ts +18 -0
- package/lib/cjs/types/src/common.d.ts.map +1 -0
- package/lib/cjs/types/src/reader.d.ts +200 -117
- package/lib/cjs/types/src/reader.d.ts.map +1 -1
- package/lib/cjs/types/src/writer.d.ts +380 -329
- package/lib/cjs/types/src/writer.d.ts.map +1 -1
- package/lib/esm/src/common.js +446 -0
- package/lib/esm/src/common.js.map +1 -0
- package/lib/esm/src/reader.js +287 -368
- package/lib/esm/src/reader.js.map +1 -1
- package/lib/esm/src/writer.js +449 -625
- package/lib/esm/src/writer.js.map +1 -1
- package/lib/esm/types/src/common.d.ts +18 -0
- package/lib/esm/types/src/common.d.ts.map +1 -0
- package/lib/esm/types/src/reader.d.ts +200 -117
- package/lib/esm/types/src/reader.d.ts.map +1 -1
- package/lib/esm/types/src/writer.d.ts +380 -329
- package/lib/esm/types/src/writer.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Binary writer, includes bitfields and strings
|
|
4
4
|
*
|
|
5
5
|
* @param {Buffer|Uint8Array} data - ``Buffer`` or ``Uint8Array``. Always found in ``biwriter.data``
|
|
6
|
-
* @param {number} byteOffset -
|
|
7
|
-
* @param {number} bitOffset -
|
|
8
|
-
* @param {string} endianness -
|
|
9
|
-
* @param {boolean} strict -
|
|
6
|
+
* @param {number} byteOffset - Byte offset to start writer, default is 0
|
|
7
|
+
* @param {number} bitOffset - Bit offset to start writer, 0-7
|
|
8
|
+
* @param {string} endianness - Endianness ``big`` or ``little`` (default little)
|
|
9
|
+
* @param {boolean} strict - Strict mode: if true does not extend supplied array on outside write (default false)
|
|
10
10
|
*/
|
|
11
11
|
export declare class biwriter {
|
|
12
12
|
endian: string;
|
|
@@ -24,15 +24,14 @@ export declare class biwriter {
|
|
|
24
24
|
* Binary writer, includes bitfields and strings
|
|
25
25
|
*
|
|
26
26
|
* @param {Buffer|Uint8Array} data - ``Buffer`` or ``Uint8Array``. Always found in ``biwriter.data``
|
|
27
|
-
* @param {number} byteOffset -
|
|
28
|
-
* @param {number} bitOffset -
|
|
29
|
-
* @param {string} endianness -
|
|
30
|
-
* @param {boolean} strict -
|
|
27
|
+
* @param {number} byteOffset - Byte offset to start writer, default is 0
|
|
28
|
+
* @param {number} bitOffset - Bit offset to start writer, 0-7
|
|
29
|
+
* @param {string} endianness - Endianness ``big`` or ``little`` (default little)
|
|
30
|
+
* @param {boolean} strict - Strict mode: if true does not extend supplied array on outside write (default false)
|
|
31
31
|
*/
|
|
32
32
|
constructor(data: Array<Uint8Array>, byteOffset?: number, bitOffset?: number, endianness?: string, strict?: boolean);
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
* Change endian, defaults to little
|
|
34
|
+
* Change endian (default little)
|
|
36
35
|
*
|
|
37
36
|
* Can be changed at any time, doesn't loose position
|
|
38
37
|
*
|
|
@@ -40,117 +39,92 @@ export declare class biwriter {
|
|
|
40
39
|
*/
|
|
41
40
|
endianness(endian: string): void;
|
|
42
41
|
/**
|
|
43
|
-
*
|
|
44
42
|
* Sets endian to big
|
|
43
|
+
*
|
|
45
44
|
*/
|
|
46
45
|
bigEndian(): void;
|
|
47
46
|
/**
|
|
48
|
-
*
|
|
49
47
|
* Sets endian to big
|
|
48
|
+
*
|
|
50
49
|
*/
|
|
51
50
|
big(): void;
|
|
52
51
|
/**
|
|
53
|
-
*
|
|
54
52
|
* Sets endian to big
|
|
53
|
+
*
|
|
55
54
|
*/
|
|
56
55
|
be(): void;
|
|
57
56
|
/**
|
|
58
|
-
*
|
|
59
57
|
* Sets endian to little
|
|
58
|
+
*
|
|
60
59
|
*/
|
|
61
60
|
littleEndian(): void;
|
|
62
61
|
/**
|
|
63
|
-
*
|
|
64
62
|
* Sets endian to little
|
|
63
|
+
*
|
|
65
64
|
*/
|
|
66
65
|
little(): void;
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
69
67
|
* Sets endian to little
|
|
68
|
+
*
|
|
70
69
|
*/
|
|
71
70
|
le(): void;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
72
|
+
* Offset current byte or bit position
|
|
73
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
74
74
|
*
|
|
75
|
-
* @param {number} bytes -
|
|
76
|
-
* @param {number} bits -
|
|
75
|
+
* @param {number} bytes - Bytes to skip
|
|
76
|
+
* @param {number} bits - Bits to skip (0-7)
|
|
77
77
|
*/
|
|
78
78
|
skip(bytes: number, bits?: number): void;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Offset current byte or bit position
|
|
81
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
81
82
|
*
|
|
82
|
-
* @param {number} bytes -
|
|
83
|
-
* @param {number} bits -
|
|
83
|
+
* @param {number} bytes - Bytes to skip
|
|
84
|
+
* @param {number} bits - Bits to skip (0-7)
|
|
84
85
|
*/
|
|
85
|
-
|
|
86
|
+
jump(bytes: number, bits?: number): void;
|
|
86
87
|
/**
|
|
87
|
-
* Change
|
|
88
|
+
* Change position directly to address
|
|
89
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
88
90
|
*
|
|
89
|
-
* @param {number} byte - byte to
|
|
90
|
-
* @param {number} bit - bit to
|
|
91
|
+
* @param {number} byte - byte to set to
|
|
92
|
+
* @param {number} bit - bit to set to (0-7)
|
|
91
93
|
*/
|
|
92
94
|
goto(byte: number, bit?: number): void;
|
|
93
95
|
/**
|
|
94
|
-
* Change
|
|
96
|
+
* Change position directly to address
|
|
97
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
95
98
|
*
|
|
96
|
-
* @param {number} byte - byte to
|
|
97
|
-
* @param {number} bit - bit to
|
|
99
|
+
* @param {number} byte - byte to set to
|
|
100
|
+
* @param {number} bit - bit to set to (0-7)
|
|
98
101
|
*/
|
|
99
102
|
seek(byte: number, bit?: number): void;
|
|
100
103
|
/**
|
|
101
|
-
* Change
|
|
104
|
+
* Change position directly to address
|
|
105
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
102
106
|
*
|
|
103
|
-
* @param {number} byte - byte to
|
|
104
|
-
* @param {number} bit - bit to
|
|
105
|
-
*/
|
|
106
|
-
fseek(byte: number, bit?: number): void;
|
|
107
|
-
/**
|
|
108
|
-
* Change current byte or bit write position, will extend data if outside of current size
|
|
109
|
-
*
|
|
110
|
-
* @param {number} byte - byte to jump to
|
|
111
|
-
* @param {number} bit - bit to jump to (0-7)
|
|
112
|
-
*/
|
|
113
|
-
jump(byte: number, bit?: number): void;
|
|
114
|
-
/**
|
|
115
|
-
* Change current byte or bit write position, will extend data if outside of current size
|
|
116
|
-
*
|
|
117
|
-
* @param {number} byte - byte to jump to
|
|
118
|
-
* @param {number} bit - bit to jump to (0-7)
|
|
107
|
+
* @param {number} byte - byte to set to
|
|
108
|
+
* @param {number} bit - bit to set to (0-7)
|
|
119
109
|
*/
|
|
120
110
|
pointer(byte: number, bit?: number): void;
|
|
121
111
|
/**
|
|
122
|
-
* Change
|
|
112
|
+
* Change position directly to address
|
|
113
|
+
* Note: Will extend array if strict mode is off and outside of max size
|
|
123
114
|
*
|
|
124
|
-
* @param {number} byte - byte to
|
|
125
|
-
* @param {number} bit - bit to
|
|
115
|
+
* @param {number} byte - byte to set to
|
|
116
|
+
* @param {number} bit - bit to set to (0-7)
|
|
126
117
|
*/
|
|
127
118
|
warp(byte: number, bit?: number): void;
|
|
128
119
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* @param {number} byte - byte to jump to
|
|
132
|
-
* @param {number} bit - bit to jump to (0-7)
|
|
133
|
-
*/
|
|
134
|
-
fsetpos(byte: number, bit?: number): void;
|
|
135
|
-
/**
|
|
136
|
-
* Set offset to start of file
|
|
120
|
+
* Set byte and bit position to start of data
|
|
137
121
|
*/
|
|
138
122
|
rewind(): void;
|
|
139
123
|
/**
|
|
140
|
-
* Set
|
|
124
|
+
* Set byte and bit position to start of data
|
|
141
125
|
*/
|
|
142
126
|
gotostart(): void;
|
|
143
127
|
/**
|
|
144
|
-
* Set offset to start of file
|
|
145
|
-
*/
|
|
146
|
-
tostart(): void;
|
|
147
|
-
/**
|
|
148
|
-
* Get the current byte position
|
|
149
|
-
*
|
|
150
|
-
* @return {number} current byte position
|
|
151
|
-
*/
|
|
152
|
-
ftell(): number;
|
|
153
|
-
/**
|
|
154
128
|
* Get the current byte position
|
|
155
129
|
*
|
|
156
130
|
* @return {number} current byte position
|
|
@@ -161,7 +135,7 @@ export declare class biwriter {
|
|
|
161
135
|
*
|
|
162
136
|
* @return {number} current byte position
|
|
163
137
|
*/
|
|
164
|
-
|
|
138
|
+
getOffset(): number;
|
|
165
139
|
/**
|
|
166
140
|
* Get the current byte position
|
|
167
141
|
*
|
|
@@ -169,108 +143,177 @@ export declare class biwriter {
|
|
|
169
143
|
*/
|
|
170
144
|
saveOffset(): number;
|
|
171
145
|
/**
|
|
172
|
-
* Disallows extending
|
|
146
|
+
* Disallows extending data if position is outside of max size
|
|
173
147
|
*/
|
|
174
148
|
restrict(): void;
|
|
175
149
|
/**
|
|
176
|
-
* Allows extending
|
|
150
|
+
* Allows extending data if position is outside of max size
|
|
177
151
|
*/
|
|
178
152
|
unrestrict(): void;
|
|
179
153
|
/**
|
|
180
|
-
*
|
|
181
|
-
* Note:
|
|
182
|
-
*
|
|
183
|
-
* @param {number} startOffset - Start location
|
|
184
|
-
* @param {number} endOffset -
|
|
154
|
+
* Deletes part of data from start to current byte position unless supplied, returns removed
|
|
155
|
+
* Note: Errors in strict mode
|
|
156
|
+
*
|
|
157
|
+
* @param {number} startOffset - Start location (default 0)
|
|
158
|
+
* @param {number} endOffset - End location (default current position)
|
|
159
|
+
* @param {boolean} consume - Move position to end of removed data (default false)
|
|
160
|
+
* @returns {Buffer|Uint8Array} Removed data as ``Buffer`` or ``Uint8Array``
|
|
185
161
|
*/
|
|
186
|
-
|
|
162
|
+
delete(startOffset?: number, endOffset?: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
187
163
|
/**
|
|
188
|
-
*
|
|
189
|
-
* Note:
|
|
190
|
-
*
|
|
191
|
-
* @param {number} startOffset - Start location
|
|
192
|
-
* @param {number} endOffset -
|
|
164
|
+
* Deletes part of data from start to current byte position unless supplied, returns removed
|
|
165
|
+
* Note: Errors in strict mode
|
|
166
|
+
*
|
|
167
|
+
* @param {number} startOffset - Start location (default 0)
|
|
168
|
+
* @param {number} endOffset - End location (default current position)
|
|
169
|
+
* @param {boolean} consume - Move position to end of removed data (default false)
|
|
170
|
+
* @returns {Buffer|Uint8Array} Removed data as ``Buffer`` or ``Uint8Array``
|
|
193
171
|
*/
|
|
194
|
-
|
|
172
|
+
clip(startOffset?: number, endOffset?: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
195
173
|
/**
|
|
196
|
-
*
|
|
197
|
-
* Note:
|
|
198
|
-
*
|
|
199
|
-
* @param {number}
|
|
200
|
-
* @param {
|
|
174
|
+
* Deletes part of data from current byte position to supplied length, returns removed
|
|
175
|
+
* Note: Errors in strict mode
|
|
176
|
+
*
|
|
177
|
+
* @param {number} length - Length of data in bytes to remove
|
|
178
|
+
* @param {boolean} consume - Move position to end of removed data (default false)
|
|
179
|
+
* @returns {Buffer|Uint8Array} Removed data as ``Buffer`` or ``Uint8Array``
|
|
201
180
|
*/
|
|
202
|
-
|
|
181
|
+
crop(length: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
203
182
|
/**
|
|
204
|
-
*
|
|
205
|
-
* Note:
|
|
206
|
-
*
|
|
207
|
-
* @param {number}
|
|
208
|
-
* @param {
|
|
209
|
-
* @returns {Buffer|Uint8Array} ``Buffer`` or ``Uint8Array``
|
|
183
|
+
* Deletes part of data from current position to supplied length, returns removed
|
|
184
|
+
* Note: Only works in strict mode
|
|
185
|
+
*
|
|
186
|
+
* @param {number} length - Length of data in bytes to remove
|
|
187
|
+
* @param {boolean} consume - Move position to end of removed data (default false)
|
|
188
|
+
* @returns {Buffer|Uint8Array} Removed data as ``Buffer`` or ``Uint8Array``
|
|
210
189
|
*/
|
|
211
|
-
|
|
190
|
+
drop(length: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
212
191
|
/**
|
|
213
|
-
*
|
|
192
|
+
* Returns part of data from current byte position to end of data unless supplied
|
|
193
|
+
*
|
|
194
|
+
* @param {number} startOffset - Start location (default current position)
|
|
195
|
+
* @param {number} endOffset - End location (default end of data)
|
|
196
|
+
* @param {boolean} consume - Move position to end of lifted data (default false)
|
|
197
|
+
* @param {number} fillValue - Byte value to to fill returned data (does NOT fill unless supplied)
|
|
198
|
+
* @returns {Buffer|Uint8Array} Selected data as ```Uint8Array``` or ```Buffer```
|
|
199
|
+
*/
|
|
200
|
+
lift(startOffset?: number, endOffset?: number, consume?: boolean, fillValue?: number): Array<Buffer | Uint8Array>;
|
|
201
|
+
/**
|
|
202
|
+
* Returns part of data from current byte position to end of data unless supplied
|
|
203
|
+
*
|
|
204
|
+
* @param {number} startOffset - Start location (default current position)
|
|
205
|
+
* @param {number} endOffset - End location (default end of data)
|
|
206
|
+
* @param {boolean} consume - Move position to end of lifted data (default false)
|
|
207
|
+
* @param {number} fillValue - Byte value to to fill returned data (does NOT fill unless supplied)
|
|
208
|
+
* @returns {Buffer|Uint8Array} Selected data as ```Uint8Array``` or ```Buffer```
|
|
209
|
+
*/
|
|
210
|
+
fill(startOffset?: number, endOffset?: number, consume?: boolean, fillValue?: number): Array<Buffer | Uint8Array>;
|
|
211
|
+
/**
|
|
212
|
+
* Extract data from current position to length supplied
|
|
214
213
|
* Note: Does not affect supplied data
|
|
215
|
-
*
|
|
216
|
-
* @param {number} length -
|
|
217
|
-
* @param {number} consume -
|
|
218
|
-
* @returns {Buffer|Uint8Array}
|
|
214
|
+
*
|
|
215
|
+
* @param {number} length - Length of data in bytes to copy from current offset
|
|
216
|
+
* @param {number} consume - Moves offset to end of length
|
|
217
|
+
* @returns {Buffer|Uint8Array} Selected data as ```Uint8Array``` or ```Buffer```
|
|
219
218
|
*/
|
|
220
219
|
extract(length: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
221
220
|
/**
|
|
222
|
-
* Extract
|
|
221
|
+
* Extract data from current position to length supplied
|
|
223
222
|
* Note: Does not affect supplied data
|
|
224
|
-
*
|
|
225
|
-
* @param {number} length -
|
|
226
|
-
* @param {number} consume -
|
|
227
|
-
* @returns {Buffer|Uint8Array}
|
|
223
|
+
*
|
|
224
|
+
* @param {number} length - Length of data in bytes to copy from current offset
|
|
225
|
+
* @param {number} consume - Moves offset to end of length
|
|
226
|
+
* @returns {Buffer|Uint8Array} Selected data as ```Uint8Array``` or ```Buffer```
|
|
228
227
|
*/
|
|
229
|
-
|
|
228
|
+
slice(length: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
230
229
|
/**
|
|
231
|
-
* Extract
|
|
230
|
+
* Extract data from current position to length supplied
|
|
232
231
|
* Note: Does not affect supplied data
|
|
233
|
-
*
|
|
234
|
-
* @param {number} length -
|
|
235
|
-
* @param {number} consume -
|
|
236
|
-
* @returns {Buffer|Uint8Array}
|
|
232
|
+
*
|
|
233
|
+
* @param {number} length - Length of data in bytes to copy from current offset
|
|
234
|
+
* @param {number} consume - Moves offset to end of length
|
|
235
|
+
* @returns {Buffer|Uint8Array} Selected data as ```Uint8Array``` or ```Buffer```
|
|
237
236
|
*/
|
|
238
|
-
|
|
237
|
+
wrap(length: number, consume?: boolean): Array<Buffer | Uint8Array>;
|
|
238
|
+
/**
|
|
239
|
+
* Inserts data into data
|
|
240
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
241
|
+
*
|
|
242
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
243
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
244
|
+
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
245
|
+
*/
|
|
246
|
+
insert(data: Buffer | Uint8Array, consume?: boolean, offset?: number): void;
|
|
247
|
+
/**
|
|
248
|
+
* Inserts data into data
|
|
249
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
250
|
+
*
|
|
251
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
252
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
253
|
+
* @param {number} offset - Offset to add it at (defaults to current position)
|
|
254
|
+
*/
|
|
255
|
+
place(data: Buffer | Uint8Array, consume?: boolean, offset?: number): void;
|
|
256
|
+
/**
|
|
257
|
+
* Adds data to start of supplied data
|
|
258
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
259
|
+
*
|
|
260
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
261
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
262
|
+
*/
|
|
263
|
+
unshift(data: Buffer | Uint8Array, consume?: boolean): void;
|
|
264
|
+
/**
|
|
265
|
+
* Adds data to start of supplied data
|
|
266
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
267
|
+
*
|
|
268
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
269
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
270
|
+
*/
|
|
271
|
+
prepend(data: Buffer | Uint8Array, consume?: boolean): void;
|
|
272
|
+
/**
|
|
273
|
+
* Adds data to end of supplied data
|
|
274
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
275
|
+
*
|
|
276
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
277
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
278
|
+
*/
|
|
279
|
+
push(data: Buffer | Uint8Array, consume?: boolean): void;
|
|
280
|
+
/**
|
|
281
|
+
* Adds data to end of supplied data
|
|
282
|
+
* Note: Must be same data type as supplied data. Errors on strict mode.
|
|
283
|
+
*
|
|
284
|
+
* @param {Buffer|Uint8Array} data - ```Uint8Array``` or ```Buffer``` to add to data
|
|
285
|
+
* @param {boolean} consume - Move current write position to end of data (default false)
|
|
286
|
+
*/
|
|
287
|
+
append(data: Buffer | Uint8Array, consume?: boolean): void;
|
|
239
288
|
/**
|
|
240
289
|
* Returns current data
|
|
290
|
+
*
|
|
241
291
|
* @returns {Buffer|Uint8Array} ``Buffer`` or ``Uint8Array``
|
|
242
292
|
*/
|
|
243
293
|
get(): Array<Buffer | Uint8Array>;
|
|
244
294
|
/**
|
|
245
295
|
* Returns current data
|
|
296
|
+
*
|
|
246
297
|
* @returns {Buffer|Uint8Array} ``Buffer`` or ``Uint8Array``
|
|
247
298
|
*/
|
|
248
299
|
return(): Array<Buffer | Uint8Array>;
|
|
249
300
|
/**
|
|
250
|
-
* removes
|
|
301
|
+
* removes data
|
|
251
302
|
*/
|
|
252
303
|
end(): void;
|
|
253
304
|
/**
|
|
254
|
-
* removes
|
|
305
|
+
* removes data
|
|
255
306
|
*/
|
|
256
307
|
close(): void;
|
|
257
308
|
/**
|
|
258
|
-
* removes
|
|
309
|
+
* removes data
|
|
259
310
|
*/
|
|
260
311
|
done(): void;
|
|
261
312
|
/**
|
|
262
|
-
* removes
|
|
313
|
+
* removes data
|
|
263
314
|
*/
|
|
264
315
|
finished(): void;
|
|
265
316
|
/**
|
|
266
|
-
* Turn hexdump on error off, default on
|
|
267
|
-
*/
|
|
268
|
-
errorDumpOff(): void;
|
|
269
|
-
/**
|
|
270
|
-
* Turn hexdump on error on, default on
|
|
271
|
-
*/
|
|
272
|
-
errorDumpOn(): void;
|
|
273
|
-
/**
|
|
274
317
|
* Console logs data as hex dump
|
|
275
318
|
*
|
|
276
319
|
* @param {object} options - options object
|
|
@@ -288,6 +331,14 @@ export declare class biwriter {
|
|
|
288
331
|
supressUnicode?: boolean;
|
|
289
332
|
}): void;
|
|
290
333
|
/**
|
|
334
|
+
* Turn hexdump on error off (default on)
|
|
335
|
+
*/
|
|
336
|
+
errorDumpOff(): void;
|
|
337
|
+
/**
|
|
338
|
+
* Turn hexdump on error on (default on)
|
|
339
|
+
*/
|
|
340
|
+
errorDumpOn(): void;
|
|
341
|
+
/**
|
|
291
342
|
*
|
|
292
343
|
* Write bits, must have at least value and number of bits
|
|
293
344
|
*
|
|
@@ -316,20 +367,20 @@ export declare class biwriter {
|
|
|
316
367
|
*/
|
|
317
368
|
bit(value: number, bits: number, offsetBits?: number, offsetBytes?: number, unsigned?: boolean, endian?: string): void;
|
|
318
369
|
/**
|
|
319
|
-
* Bit field writer
|
|
320
|
-
*
|
|
321
|
-
* Note: When returning to a byte
|
|
322
|
-
*
|
|
323
|
-
* @param {number} value - value as int
|
|
324
|
-
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
325
|
-
* @param {number} offsetBytes - byte offset to start the write (default last write position)
|
|
326
|
-
* @param {boolean} unsigned - if value is unsigned or not
|
|
327
|
-
*/
|
|
370
|
+
* Bit field writer
|
|
371
|
+
*
|
|
372
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
373
|
+
*
|
|
374
|
+
* @param {number} value - value as int
|
|
375
|
+
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
376
|
+
* @param {number} offsetBytes - byte offset to start the write (default last write position)
|
|
377
|
+
* @param {boolean} unsigned - if value is unsigned or not
|
|
378
|
+
*/
|
|
328
379
|
bit1(value: number, offsetBits?: number, offsetBytes?: number, unsigned?: boolean): void;
|
|
329
380
|
/**
|
|
330
381
|
* Bit field writer
|
|
331
382
|
*
|
|
332
|
-
* Note: When returning to a byte
|
|
383
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
333
384
|
*
|
|
334
385
|
* @param {number} value - value as int
|
|
335
386
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -339,7 +390,7 @@ export declare class biwriter {
|
|
|
339
390
|
/**
|
|
340
391
|
* Bit field writer
|
|
341
392
|
*
|
|
342
|
-
* Note: When returning to a byte
|
|
393
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
343
394
|
*
|
|
344
395
|
* @param {number} value - value as int
|
|
345
396
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -350,7 +401,7 @@ export declare class biwriter {
|
|
|
350
401
|
/**
|
|
351
402
|
* Bit field writer
|
|
352
403
|
*
|
|
353
|
-
* Note: When returning to a byte
|
|
404
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
354
405
|
*
|
|
355
406
|
* @param {number} value - value as int
|
|
356
407
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -360,7 +411,7 @@ export declare class biwriter {
|
|
|
360
411
|
/**
|
|
361
412
|
* Bit field writer
|
|
362
413
|
*
|
|
363
|
-
* Note: When returning to a byte
|
|
414
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
364
415
|
*
|
|
365
416
|
* @param {number} value - value as int
|
|
366
417
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -371,7 +422,7 @@ export declare class biwriter {
|
|
|
371
422
|
/**
|
|
372
423
|
* Bit field writer
|
|
373
424
|
*
|
|
374
|
-
* Note: When returning to a byte
|
|
425
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
375
426
|
*
|
|
376
427
|
* @param {number} value - value as int
|
|
377
428
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -381,7 +432,7 @@ export declare class biwriter {
|
|
|
381
432
|
/**
|
|
382
433
|
* Bit field writer
|
|
383
434
|
*
|
|
384
|
-
* Note: When returning to a byte
|
|
435
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
385
436
|
*
|
|
386
437
|
* @param {number} value - value as int
|
|
387
438
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -392,7 +443,7 @@ export declare class biwriter {
|
|
|
392
443
|
/**
|
|
393
444
|
* Bit field writer
|
|
394
445
|
*
|
|
395
|
-
* Note: When returning to a byte
|
|
446
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
396
447
|
*
|
|
397
448
|
* @param {number} value - value as int
|
|
398
449
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -402,7 +453,7 @@ export declare class biwriter {
|
|
|
402
453
|
/**
|
|
403
454
|
* Bit field writer
|
|
404
455
|
*
|
|
405
|
-
* Note: When returning to a byte
|
|
456
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
406
457
|
*
|
|
407
458
|
* @param {number} value - value as int
|
|
408
459
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -413,7 +464,7 @@ export declare class biwriter {
|
|
|
413
464
|
/**
|
|
414
465
|
* Bit field writer
|
|
415
466
|
*
|
|
416
|
-
* Note: When returning to a byte
|
|
467
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
417
468
|
*
|
|
418
469
|
* @param {number} value - value as int
|
|
419
470
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -423,7 +474,7 @@ export declare class biwriter {
|
|
|
423
474
|
/**
|
|
424
475
|
* Bit field writer
|
|
425
476
|
*
|
|
426
|
-
* Note: When returning to a byte
|
|
477
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
427
478
|
*
|
|
428
479
|
* @param {number} value - value as int
|
|
429
480
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -434,7 +485,7 @@ export declare class biwriter {
|
|
|
434
485
|
/**
|
|
435
486
|
* Bit field writer
|
|
436
487
|
*
|
|
437
|
-
* Note: When returning to a byte
|
|
488
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
438
489
|
*
|
|
439
490
|
* @param {number} value - value as int
|
|
440
491
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -444,7 +495,7 @@ export declare class biwriter {
|
|
|
444
495
|
/**
|
|
445
496
|
* Bit field writer
|
|
446
497
|
*
|
|
447
|
-
* Note: When returning to a byte
|
|
498
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
448
499
|
*
|
|
449
500
|
* @param {number} value - value as int
|
|
450
501
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -455,7 +506,7 @@ export declare class biwriter {
|
|
|
455
506
|
/**
|
|
456
507
|
* Bit field writer
|
|
457
508
|
*
|
|
458
|
-
* Note: When returning to a byte
|
|
509
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
459
510
|
*
|
|
460
511
|
* @param {number} value - value as int
|
|
461
512
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -465,7 +516,7 @@ export declare class biwriter {
|
|
|
465
516
|
/**
|
|
466
517
|
* Bit field writer
|
|
467
518
|
*
|
|
468
|
-
* Note: When returning to a byte
|
|
519
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
469
520
|
*
|
|
470
521
|
* @param {number} value - value as int
|
|
471
522
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -476,7 +527,7 @@ export declare class biwriter {
|
|
|
476
527
|
/**
|
|
477
528
|
* Bit field writer
|
|
478
529
|
*
|
|
479
|
-
* Note: When returning to a byte
|
|
530
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
480
531
|
*
|
|
481
532
|
* @param {number} value - value as int
|
|
482
533
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -486,7 +537,7 @@ export declare class biwriter {
|
|
|
486
537
|
/**
|
|
487
538
|
* Bit field writer
|
|
488
539
|
*
|
|
489
|
-
* Note: When returning to a byte
|
|
540
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
490
541
|
*
|
|
491
542
|
* @param {number} value - value as int
|
|
492
543
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -497,7 +548,7 @@ export declare class biwriter {
|
|
|
497
548
|
/**
|
|
498
549
|
* Bit field writer
|
|
499
550
|
*
|
|
500
|
-
* Note: When returning to a byte
|
|
551
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
501
552
|
*
|
|
502
553
|
* @param {number} value - value as int
|
|
503
554
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -507,7 +558,7 @@ export declare class biwriter {
|
|
|
507
558
|
/**
|
|
508
559
|
* Bit field writer
|
|
509
560
|
*
|
|
510
|
-
* Note: When returning to a byte
|
|
561
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
511
562
|
*
|
|
512
563
|
* @param {number} value - value as int
|
|
513
564
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -518,7 +569,7 @@ export declare class biwriter {
|
|
|
518
569
|
/**
|
|
519
570
|
* Bit field writer
|
|
520
571
|
*
|
|
521
|
-
* Note: When returning to a byte
|
|
572
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
522
573
|
*
|
|
523
574
|
* @param {number} value - value as int
|
|
524
575
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -528,7 +579,7 @@ export declare class biwriter {
|
|
|
528
579
|
/**
|
|
529
580
|
* Bit field writer
|
|
530
581
|
*
|
|
531
|
-
* Note: When returning to a byte
|
|
582
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
532
583
|
*
|
|
533
584
|
* @param {number} value - value as int
|
|
534
585
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -539,7 +590,7 @@ export declare class biwriter {
|
|
|
539
590
|
/**
|
|
540
591
|
* Bit field writer
|
|
541
592
|
*
|
|
542
|
-
* Note: When returning to a byte
|
|
593
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
543
594
|
*
|
|
544
595
|
* @param {number} value - value as int
|
|
545
596
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -549,7 +600,7 @@ export declare class biwriter {
|
|
|
549
600
|
/**
|
|
550
601
|
* Bit field writer
|
|
551
602
|
*
|
|
552
|
-
* Note: When returning to a byte
|
|
603
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
553
604
|
*
|
|
554
605
|
* @param {number} value - value as int
|
|
555
606
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -560,7 +611,7 @@ export declare class biwriter {
|
|
|
560
611
|
/**
|
|
561
612
|
* Bit field writer
|
|
562
613
|
*
|
|
563
|
-
* Note: When returning to a byte
|
|
614
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
564
615
|
*
|
|
565
616
|
* @param {number} value - value as int
|
|
566
617
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -570,7 +621,7 @@ export declare class biwriter {
|
|
|
570
621
|
/**
|
|
571
622
|
* Bit field writer
|
|
572
623
|
*
|
|
573
|
-
* Note: When returning to a byte
|
|
624
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
574
625
|
*
|
|
575
626
|
* @param {number} value - value as int
|
|
576
627
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -581,7 +632,7 @@ export declare class biwriter {
|
|
|
581
632
|
/**
|
|
582
633
|
* Bit field writer
|
|
583
634
|
*
|
|
584
|
-
* Note: When returning to a byte
|
|
635
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
585
636
|
*
|
|
586
637
|
* @param {number} value - value as int
|
|
587
638
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -591,7 +642,7 @@ export declare class biwriter {
|
|
|
591
642
|
/**
|
|
592
643
|
* Bit field writer
|
|
593
644
|
*
|
|
594
|
-
* Note: When returning to a byte
|
|
645
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
595
646
|
*
|
|
596
647
|
* @param {number} value - value as int
|
|
597
648
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -602,7 +653,7 @@ export declare class biwriter {
|
|
|
602
653
|
/**
|
|
603
654
|
* Bit field writer
|
|
604
655
|
*
|
|
605
|
-
* Note: When returning to a byte
|
|
656
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
606
657
|
*
|
|
607
658
|
* @param {number} value - value as int
|
|
608
659
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -612,7 +663,7 @@ export declare class biwriter {
|
|
|
612
663
|
/**
|
|
613
664
|
* Bit field writer
|
|
614
665
|
*
|
|
615
|
-
* Note: When returning to a byte
|
|
666
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
616
667
|
*
|
|
617
668
|
* @param {number} value - value as int
|
|
618
669
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -623,7 +674,7 @@ export declare class biwriter {
|
|
|
623
674
|
/**
|
|
624
675
|
* Bit field writer
|
|
625
676
|
*
|
|
626
|
-
* Note: When returning to a byte
|
|
677
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
627
678
|
*
|
|
628
679
|
* @param {number} value - value as int
|
|
629
680
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -633,7 +684,7 @@ export declare class biwriter {
|
|
|
633
684
|
/**
|
|
634
685
|
* Bit field writer
|
|
635
686
|
*
|
|
636
|
-
* Note: When returning to a byte
|
|
687
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
637
688
|
*
|
|
638
689
|
* @param {number} value - value as int
|
|
639
690
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -644,7 +695,7 @@ export declare class biwriter {
|
|
|
644
695
|
/**
|
|
645
696
|
* Bit field writer
|
|
646
697
|
*
|
|
647
|
-
* Note: When returning to a byte
|
|
698
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
648
699
|
*
|
|
649
700
|
* @param {number} value - value as int
|
|
650
701
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -654,7 +705,7 @@ export declare class biwriter {
|
|
|
654
705
|
/**
|
|
655
706
|
* Bit field writer
|
|
656
707
|
*
|
|
657
|
-
* Note: When returning to a byte
|
|
708
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
658
709
|
*
|
|
659
710
|
* @param {number} value - value as int
|
|
660
711
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -665,7 +716,7 @@ export declare class biwriter {
|
|
|
665
716
|
/**
|
|
666
717
|
* Bit field writer
|
|
667
718
|
*
|
|
668
|
-
* Note: When returning to a byte
|
|
719
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
669
720
|
*
|
|
670
721
|
* @param {number} value - value as int
|
|
671
722
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -675,7 +726,7 @@ export declare class biwriter {
|
|
|
675
726
|
/**
|
|
676
727
|
* Bit field writer
|
|
677
728
|
*
|
|
678
|
-
* Note: When returning to a byte
|
|
729
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
679
730
|
*
|
|
680
731
|
* @param {number} value - value as int
|
|
681
732
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -686,7 +737,7 @@ export declare class biwriter {
|
|
|
686
737
|
/**
|
|
687
738
|
* Bit field writer
|
|
688
739
|
*
|
|
689
|
-
* Note: When returning to a byte
|
|
740
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
690
741
|
*
|
|
691
742
|
* @param {number} value - value as int
|
|
692
743
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -696,7 +747,7 @@ export declare class biwriter {
|
|
|
696
747
|
/**
|
|
697
748
|
* Bit field writer
|
|
698
749
|
*
|
|
699
|
-
* Note: When returning to a byte
|
|
750
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
700
751
|
*
|
|
701
752
|
* @param {number} value - value as int
|
|
702
753
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -707,7 +758,7 @@ export declare class biwriter {
|
|
|
707
758
|
/**
|
|
708
759
|
* Bit field writer
|
|
709
760
|
*
|
|
710
|
-
* Note: When returning to a byte
|
|
761
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
711
762
|
*
|
|
712
763
|
* @param {number} value - value as int
|
|
713
764
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -717,7 +768,7 @@ export declare class biwriter {
|
|
|
717
768
|
/**
|
|
718
769
|
* Bit field writer
|
|
719
770
|
*
|
|
720
|
-
* Note: When returning to a byte
|
|
771
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
721
772
|
*
|
|
722
773
|
* @param {number} value - value as int
|
|
723
774
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -728,7 +779,7 @@ export declare class biwriter {
|
|
|
728
779
|
/**
|
|
729
780
|
* Bit field writer
|
|
730
781
|
*
|
|
731
|
-
* Note: When returning to a byte
|
|
782
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
732
783
|
*
|
|
733
784
|
* @param {number} value - value as int
|
|
734
785
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -738,7 +789,7 @@ export declare class biwriter {
|
|
|
738
789
|
/**
|
|
739
790
|
* Bit field writer
|
|
740
791
|
*
|
|
741
|
-
* Note: When returning to a byte
|
|
792
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
742
793
|
*
|
|
743
794
|
* @param {number} value - value as int
|
|
744
795
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -749,7 +800,7 @@ export declare class biwriter {
|
|
|
749
800
|
/**
|
|
750
801
|
* Bit field writer
|
|
751
802
|
*
|
|
752
|
-
* Note: When returning to a byte
|
|
803
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
753
804
|
*
|
|
754
805
|
* @param {number} value - value as int
|
|
755
806
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -759,7 +810,7 @@ export declare class biwriter {
|
|
|
759
810
|
/**
|
|
760
811
|
* Bit field writer
|
|
761
812
|
*
|
|
762
|
-
* Note: When returning to a byte
|
|
813
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
763
814
|
*
|
|
764
815
|
* @param {number} value - value as int
|
|
765
816
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -770,7 +821,7 @@ export declare class biwriter {
|
|
|
770
821
|
/**
|
|
771
822
|
* Bit field writer
|
|
772
823
|
*
|
|
773
|
-
* Note: When returning to a byte
|
|
824
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
774
825
|
*
|
|
775
826
|
* @param {number} value - value as int
|
|
776
827
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -780,7 +831,7 @@ export declare class biwriter {
|
|
|
780
831
|
/**
|
|
781
832
|
* Bit field writer
|
|
782
833
|
*
|
|
783
|
-
* Note: When returning to a byte
|
|
834
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
784
835
|
*
|
|
785
836
|
* @param {number} value - value as int
|
|
786
837
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -791,7 +842,7 @@ export declare class biwriter {
|
|
|
791
842
|
/**
|
|
792
843
|
* Bit field writer
|
|
793
844
|
*
|
|
794
|
-
* Note: When returning to a byte
|
|
845
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
795
846
|
*
|
|
796
847
|
* @param {number} value - value as int
|
|
797
848
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -801,7 +852,7 @@ export declare class biwriter {
|
|
|
801
852
|
/**
|
|
802
853
|
* Bit field writer
|
|
803
854
|
*
|
|
804
|
-
* Note: When returning to a byte
|
|
855
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
805
856
|
*
|
|
806
857
|
* @param {number} value - value as int
|
|
807
858
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -812,7 +863,7 @@ export declare class biwriter {
|
|
|
812
863
|
/**
|
|
813
864
|
* Bit field writer
|
|
814
865
|
*
|
|
815
|
-
* Note: When returning to a byte
|
|
866
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
816
867
|
*
|
|
817
868
|
* @param {number} value - value as int
|
|
818
869
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -822,7 +873,7 @@ export declare class biwriter {
|
|
|
822
873
|
/**
|
|
823
874
|
* Bit field writer
|
|
824
875
|
*
|
|
825
|
-
* Note: When returning to a byte
|
|
876
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
826
877
|
*
|
|
827
878
|
* @param {number} value - value as int
|
|
828
879
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -833,7 +884,7 @@ export declare class biwriter {
|
|
|
833
884
|
/**
|
|
834
885
|
* Bit field writer
|
|
835
886
|
*
|
|
836
|
-
* Note: When returning to a byte
|
|
887
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
837
888
|
*
|
|
838
889
|
* @param {number} value - value as int
|
|
839
890
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -843,7 +894,7 @@ export declare class biwriter {
|
|
|
843
894
|
/**
|
|
844
895
|
* Bit field writer
|
|
845
896
|
*
|
|
846
|
-
* Note: When returning to a byte
|
|
897
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
847
898
|
*
|
|
848
899
|
* @param {number} value - value as int
|
|
849
900
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -854,7 +905,7 @@ export declare class biwriter {
|
|
|
854
905
|
/**
|
|
855
906
|
* Bit field writer
|
|
856
907
|
*
|
|
857
|
-
* Note: When returning to a byte
|
|
908
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
858
909
|
*
|
|
859
910
|
* @param {number} value - value as int
|
|
860
911
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -864,7 +915,7 @@ export declare class biwriter {
|
|
|
864
915
|
/**
|
|
865
916
|
* Bit field writer
|
|
866
917
|
*
|
|
867
|
-
* Note: When returning to a byte
|
|
918
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
868
919
|
*
|
|
869
920
|
* @param {number} value - value as int
|
|
870
921
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -875,7 +926,7 @@ export declare class biwriter {
|
|
|
875
926
|
/**
|
|
876
927
|
* Bit field writer
|
|
877
928
|
*
|
|
878
|
-
* Note: When returning to a byte
|
|
929
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
879
930
|
*
|
|
880
931
|
* @param {number} value - value as int
|
|
881
932
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -885,7 +936,7 @@ export declare class biwriter {
|
|
|
885
936
|
/**
|
|
886
937
|
* Bit field writer
|
|
887
938
|
*
|
|
888
|
-
* Note: When returning to a byte
|
|
939
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
889
940
|
*
|
|
890
941
|
* @param {number} value - value as int
|
|
891
942
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -896,7 +947,7 @@ export declare class biwriter {
|
|
|
896
947
|
/**
|
|
897
948
|
* Bit field writer
|
|
898
949
|
*
|
|
899
|
-
* Note: When returning to a byte
|
|
950
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
900
951
|
*
|
|
901
952
|
* @param {number} value - value as int
|
|
902
953
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -906,7 +957,7 @@ export declare class biwriter {
|
|
|
906
957
|
/**
|
|
907
958
|
* Bit field writer
|
|
908
959
|
*
|
|
909
|
-
* Note: When returning to a byte
|
|
960
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
910
961
|
*
|
|
911
962
|
* @param {number} value - value as int
|
|
912
963
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -917,7 +968,7 @@ export declare class biwriter {
|
|
|
917
968
|
/**
|
|
918
969
|
* Bit field writer
|
|
919
970
|
*
|
|
920
|
-
* Note: When returning to a byte
|
|
971
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
921
972
|
*
|
|
922
973
|
* @param {number} value - value as int
|
|
923
974
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -927,7 +978,7 @@ export declare class biwriter {
|
|
|
927
978
|
/**
|
|
928
979
|
* Bit field writer
|
|
929
980
|
*
|
|
930
|
-
* Note: When returning to a byte
|
|
981
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
931
982
|
*
|
|
932
983
|
* @param {number} value - value as int
|
|
933
984
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -938,7 +989,7 @@ export declare class biwriter {
|
|
|
938
989
|
/**
|
|
939
990
|
* Bit field writer
|
|
940
991
|
*
|
|
941
|
-
* Note: When returning to a byte
|
|
992
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
942
993
|
*
|
|
943
994
|
* @param {number} value - value as int
|
|
944
995
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -948,7 +999,7 @@ export declare class biwriter {
|
|
|
948
999
|
/**
|
|
949
1000
|
* Bit field writer
|
|
950
1001
|
*
|
|
951
|
-
* Note: When returning to a byte
|
|
1002
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
952
1003
|
*
|
|
953
1004
|
* @param {number} value - value as int
|
|
954
1005
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -959,7 +1010,7 @@ export declare class biwriter {
|
|
|
959
1010
|
/**
|
|
960
1011
|
* Bit field writer
|
|
961
1012
|
*
|
|
962
|
-
* Note: When returning to a byte
|
|
1013
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
963
1014
|
*
|
|
964
1015
|
* @param {number} value - value as int
|
|
965
1016
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -969,7 +1020,7 @@ export declare class biwriter {
|
|
|
969
1020
|
/**
|
|
970
1021
|
* Bit field writer
|
|
971
1022
|
*
|
|
972
|
-
* Note: When returning to a byte
|
|
1023
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
973
1024
|
*
|
|
974
1025
|
* @param {number} value - value as int
|
|
975
1026
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -980,7 +1031,7 @@ export declare class biwriter {
|
|
|
980
1031
|
/**
|
|
981
1032
|
* Bit field writer
|
|
982
1033
|
*
|
|
983
|
-
* Note: When returning to a byte
|
|
1034
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
984
1035
|
*
|
|
985
1036
|
* @param {number} value - value as int
|
|
986
1037
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -990,7 +1041,7 @@ export declare class biwriter {
|
|
|
990
1041
|
/**
|
|
991
1042
|
* Bit field writer
|
|
992
1043
|
*
|
|
993
|
-
* Note: When returning to a byte
|
|
1044
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
994
1045
|
*
|
|
995
1046
|
* @param {number} value - value as int
|
|
996
1047
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1001,7 +1052,7 @@ export declare class biwriter {
|
|
|
1001
1052
|
/**
|
|
1002
1053
|
* Bit field writer
|
|
1003
1054
|
*
|
|
1004
|
-
* Note: When returning to a byte
|
|
1055
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1005
1056
|
*
|
|
1006
1057
|
* @param {number} value - value as int
|
|
1007
1058
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1011,7 +1062,7 @@ export declare class biwriter {
|
|
|
1011
1062
|
/**
|
|
1012
1063
|
* Bit field writer
|
|
1013
1064
|
*
|
|
1014
|
-
* Note: When returning to a byte
|
|
1065
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1015
1066
|
*
|
|
1016
1067
|
* @param {number} value - value as int
|
|
1017
1068
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1022,7 +1073,7 @@ export declare class biwriter {
|
|
|
1022
1073
|
/**
|
|
1023
1074
|
* Bit field writer
|
|
1024
1075
|
*
|
|
1025
|
-
* Note: When returning to a byte
|
|
1076
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1026
1077
|
*
|
|
1027
1078
|
* @param {number} value - value as int
|
|
1028
1079
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1032,7 +1083,7 @@ export declare class biwriter {
|
|
|
1032
1083
|
/**
|
|
1033
1084
|
* Bit field writer
|
|
1034
1085
|
*
|
|
1035
|
-
* Note: When returning to a byte
|
|
1086
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1036
1087
|
*
|
|
1037
1088
|
* @param {number} value - value as int
|
|
1038
1089
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1043,7 +1094,7 @@ export declare class biwriter {
|
|
|
1043
1094
|
/**
|
|
1044
1095
|
* Bit field writer
|
|
1045
1096
|
*
|
|
1046
|
-
* Note: When returning to a byte
|
|
1097
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1047
1098
|
*
|
|
1048
1099
|
* @param {number} value - value as int
|
|
1049
1100
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1053,7 +1104,7 @@ export declare class biwriter {
|
|
|
1053
1104
|
/**
|
|
1054
1105
|
* Bit field writer
|
|
1055
1106
|
*
|
|
1056
|
-
* Note: When returning to a byte
|
|
1107
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1057
1108
|
*
|
|
1058
1109
|
* @param {number} value - value as int
|
|
1059
1110
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1064,7 +1115,7 @@ export declare class biwriter {
|
|
|
1064
1115
|
/**
|
|
1065
1116
|
* Bit field writer
|
|
1066
1117
|
*
|
|
1067
|
-
* Note: When returning to a byte
|
|
1118
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1068
1119
|
*
|
|
1069
1120
|
* @param {number} value - value as int
|
|
1070
1121
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1074,7 +1125,7 @@ export declare class biwriter {
|
|
|
1074
1125
|
/**
|
|
1075
1126
|
* Bit field writer
|
|
1076
1127
|
*
|
|
1077
|
-
* Note: When returning to a byte
|
|
1128
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1078
1129
|
*
|
|
1079
1130
|
* @param {number} value - value as int
|
|
1080
1131
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1085,7 +1136,7 @@ export declare class biwriter {
|
|
|
1085
1136
|
/**
|
|
1086
1137
|
* Bit field writer
|
|
1087
1138
|
*
|
|
1088
|
-
* Note: When returning to a byte
|
|
1139
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1089
1140
|
*
|
|
1090
1141
|
* @param {number} value - value as int
|
|
1091
1142
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1095,7 +1146,7 @@ export declare class biwriter {
|
|
|
1095
1146
|
/**
|
|
1096
1147
|
* Bit field writer
|
|
1097
1148
|
*
|
|
1098
|
-
* Note: When returning to a byte
|
|
1149
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1099
1150
|
*
|
|
1100
1151
|
* @param {number} value - value as int
|
|
1101
1152
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1106,7 +1157,7 @@ export declare class biwriter {
|
|
|
1106
1157
|
/**
|
|
1107
1158
|
* Bit field writer
|
|
1108
1159
|
*
|
|
1109
|
-
* Note: When returning to a byte
|
|
1160
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1110
1161
|
*
|
|
1111
1162
|
* @param {number} value - value as int
|
|
1112
1163
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1116,7 +1167,7 @@ export declare class biwriter {
|
|
|
1116
1167
|
/**
|
|
1117
1168
|
* Bit field writer
|
|
1118
1169
|
*
|
|
1119
|
-
* Note: When returning to a byte
|
|
1170
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1120
1171
|
*
|
|
1121
1172
|
* @param {number} value - value as int
|
|
1122
1173
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1127,7 +1178,7 @@ export declare class biwriter {
|
|
|
1127
1178
|
/**
|
|
1128
1179
|
* Bit field writer
|
|
1129
1180
|
*
|
|
1130
|
-
* Note: When returning to a byte
|
|
1181
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1131
1182
|
*
|
|
1132
1183
|
* @param {number} value - value as int
|
|
1133
1184
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1137,7 +1188,7 @@ export declare class biwriter {
|
|
|
1137
1188
|
/**
|
|
1138
1189
|
* Bit field writer
|
|
1139
1190
|
*
|
|
1140
|
-
* Note: When returning to a byte
|
|
1191
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1141
1192
|
*
|
|
1142
1193
|
* @param {number} value - value as int
|
|
1143
1194
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1148,7 +1199,7 @@ export declare class biwriter {
|
|
|
1148
1199
|
/**
|
|
1149
1200
|
* Bit field writer
|
|
1150
1201
|
*
|
|
1151
|
-
* Note: When returning to a byte
|
|
1202
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1152
1203
|
*
|
|
1153
1204
|
* @param {number} value - value as int
|
|
1154
1205
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1158,7 +1209,7 @@ export declare class biwriter {
|
|
|
1158
1209
|
/**
|
|
1159
1210
|
* Bit field writer
|
|
1160
1211
|
*
|
|
1161
|
-
* Note: When returning to a byte
|
|
1212
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1162
1213
|
*
|
|
1163
1214
|
* @param {number} value - value as int
|
|
1164
1215
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1169,7 +1220,7 @@ export declare class biwriter {
|
|
|
1169
1220
|
/**
|
|
1170
1221
|
* Bit field writer
|
|
1171
1222
|
*
|
|
1172
|
-
* Note: When returning to a byte
|
|
1223
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1173
1224
|
*
|
|
1174
1225
|
* @param {number} value - value as int
|
|
1175
1226
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1179,7 +1230,7 @@ export declare class biwriter {
|
|
|
1179
1230
|
/**
|
|
1180
1231
|
* Bit field writer
|
|
1181
1232
|
*
|
|
1182
|
-
* Note: When returning to a byte
|
|
1233
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1183
1234
|
*
|
|
1184
1235
|
* @param {number} value - value as int
|
|
1185
1236
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1190,7 +1241,7 @@ export declare class biwriter {
|
|
|
1190
1241
|
/**
|
|
1191
1242
|
* Bit field writer
|
|
1192
1243
|
*
|
|
1193
|
-
* Note: When returning to a byte
|
|
1244
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1194
1245
|
*
|
|
1195
1246
|
* @param {number} value - value as int
|
|
1196
1247
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1200,7 +1251,7 @@ export declare class biwriter {
|
|
|
1200
1251
|
/**
|
|
1201
1252
|
* Bit field writer
|
|
1202
1253
|
*
|
|
1203
|
-
* Note: When returning to a byte
|
|
1254
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1204
1255
|
*
|
|
1205
1256
|
* @param {number} value - value as int
|
|
1206
1257
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1211,7 +1262,7 @@ export declare class biwriter {
|
|
|
1211
1262
|
/**
|
|
1212
1263
|
* Bit field writer
|
|
1213
1264
|
*
|
|
1214
|
-
* Note: When returning to a byte
|
|
1265
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1215
1266
|
*
|
|
1216
1267
|
* @param {number} value - value as int
|
|
1217
1268
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1221,7 +1272,7 @@ export declare class biwriter {
|
|
|
1221
1272
|
/**
|
|
1222
1273
|
* Bit field writer
|
|
1223
1274
|
*
|
|
1224
|
-
* Note: When returning to a byte
|
|
1275
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1225
1276
|
*
|
|
1226
1277
|
* @param {number} value - value as int
|
|
1227
1278
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1232,7 +1283,7 @@ export declare class biwriter {
|
|
|
1232
1283
|
/**
|
|
1233
1284
|
* Bit field writer
|
|
1234
1285
|
*
|
|
1235
|
-
* Note: When returning to a byte
|
|
1286
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1236
1287
|
*
|
|
1237
1288
|
* @param {number} value - value as int
|
|
1238
1289
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1242,7 +1293,7 @@ export declare class biwriter {
|
|
|
1242
1293
|
/**
|
|
1243
1294
|
* Bit field writer
|
|
1244
1295
|
*
|
|
1245
|
-
* Note: When returning to a byte
|
|
1296
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1246
1297
|
*
|
|
1247
1298
|
* @param {number} value - value as int
|
|
1248
1299
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1253,7 +1304,7 @@ export declare class biwriter {
|
|
|
1253
1304
|
/**
|
|
1254
1305
|
* Bit field writer
|
|
1255
1306
|
*
|
|
1256
|
-
* Note: When returning to a byte
|
|
1307
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1257
1308
|
*
|
|
1258
1309
|
* @param {number} value - value as int
|
|
1259
1310
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1263,7 +1314,7 @@ export declare class biwriter {
|
|
|
1263
1314
|
/**
|
|
1264
1315
|
* Bit field writer
|
|
1265
1316
|
*
|
|
1266
|
-
* Note: When returning to a byte
|
|
1317
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1267
1318
|
*
|
|
1268
1319
|
* @param {number} value - value as int
|
|
1269
1320
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1274,7 +1325,7 @@ export declare class biwriter {
|
|
|
1274
1325
|
/**
|
|
1275
1326
|
* Bit field writer
|
|
1276
1327
|
*
|
|
1277
|
-
* Note: When returning to a byte
|
|
1328
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1278
1329
|
*
|
|
1279
1330
|
* @param {number} value - value as int
|
|
1280
1331
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1284,7 +1335,7 @@ export declare class biwriter {
|
|
|
1284
1335
|
/**
|
|
1285
1336
|
* Bit field writer
|
|
1286
1337
|
*
|
|
1287
|
-
* Note: When returning to a byte
|
|
1338
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1288
1339
|
*
|
|
1289
1340
|
* @param {number} value - value as int
|
|
1290
1341
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1295,7 +1346,7 @@ export declare class biwriter {
|
|
|
1295
1346
|
/**
|
|
1296
1347
|
* Bit field writer
|
|
1297
1348
|
*
|
|
1298
|
-
* Note: When returning to a byte
|
|
1349
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1299
1350
|
*
|
|
1300
1351
|
* @param {number} value - value as int
|
|
1301
1352
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1305,7 +1356,7 @@ export declare class biwriter {
|
|
|
1305
1356
|
/**
|
|
1306
1357
|
* Bit field writer
|
|
1307
1358
|
*
|
|
1308
|
-
* Note: When returning to a byte
|
|
1359
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1309
1360
|
*
|
|
1310
1361
|
* @param {number} value - value as int
|
|
1311
1362
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1316,7 +1367,7 @@ export declare class biwriter {
|
|
|
1316
1367
|
/**
|
|
1317
1368
|
* Bit field writer
|
|
1318
1369
|
*
|
|
1319
|
-
* Note: When returning to a byte
|
|
1370
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1320
1371
|
*
|
|
1321
1372
|
* @param {number} value - value as int
|
|
1322
1373
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1326,7 +1377,7 @@ export declare class biwriter {
|
|
|
1326
1377
|
/**
|
|
1327
1378
|
* Bit field writer
|
|
1328
1379
|
*
|
|
1329
|
-
* Note: When returning to a byte
|
|
1380
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1330
1381
|
*
|
|
1331
1382
|
* @param {number} value - value as int
|
|
1332
1383
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1337,7 +1388,7 @@ export declare class biwriter {
|
|
|
1337
1388
|
/**
|
|
1338
1389
|
* Bit field writer
|
|
1339
1390
|
*
|
|
1340
|
-
* Note: When returning to a byte
|
|
1391
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1341
1392
|
*
|
|
1342
1393
|
* @param {number} value - value as int
|
|
1343
1394
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1347,7 +1398,7 @@ export declare class biwriter {
|
|
|
1347
1398
|
/**
|
|
1348
1399
|
* Bit field writer
|
|
1349
1400
|
*
|
|
1350
|
-
* Note: When returning to a byte
|
|
1401
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1351
1402
|
*
|
|
1352
1403
|
* @param {number} value - value as int
|
|
1353
1404
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1358,7 +1409,7 @@ export declare class biwriter {
|
|
|
1358
1409
|
/**
|
|
1359
1410
|
* Bit field writer
|
|
1360
1411
|
*
|
|
1361
|
-
* Note: When returning to a byte
|
|
1412
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1362
1413
|
*
|
|
1363
1414
|
* @param {number} value - value as int
|
|
1364
1415
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1368,7 +1419,7 @@ export declare class biwriter {
|
|
|
1368
1419
|
/**
|
|
1369
1420
|
* Bit field writer
|
|
1370
1421
|
*
|
|
1371
|
-
* Note: When returning to a byte
|
|
1422
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1372
1423
|
*
|
|
1373
1424
|
* @param {number} value - value as int
|
|
1374
1425
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1379,7 +1430,7 @@ export declare class biwriter {
|
|
|
1379
1430
|
/**
|
|
1380
1431
|
* Bit field writer
|
|
1381
1432
|
*
|
|
1382
|
-
* Note: When returning to a byte
|
|
1433
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1383
1434
|
*
|
|
1384
1435
|
* @param {number} value - value as int
|
|
1385
1436
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1389,7 +1440,7 @@ export declare class biwriter {
|
|
|
1389
1440
|
/**
|
|
1390
1441
|
* Bit field writer
|
|
1391
1442
|
*
|
|
1392
|
-
* Note: When returning to a byte
|
|
1443
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1393
1444
|
*
|
|
1394
1445
|
* @param {number} value - value as int
|
|
1395
1446
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1400,7 +1451,7 @@ export declare class biwriter {
|
|
|
1400
1451
|
/**
|
|
1401
1452
|
* Bit field writer
|
|
1402
1453
|
*
|
|
1403
|
-
* Note: When returning to a byte
|
|
1454
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1404
1455
|
*
|
|
1405
1456
|
* @param {number} value - value as int
|
|
1406
1457
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1410,7 +1461,7 @@ export declare class biwriter {
|
|
|
1410
1461
|
/**
|
|
1411
1462
|
* Bit field writer
|
|
1412
1463
|
*
|
|
1413
|
-
* Note: When returning to a byte
|
|
1464
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1414
1465
|
*
|
|
1415
1466
|
* @param {number} value - value as int
|
|
1416
1467
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1421,7 +1472,7 @@ export declare class biwriter {
|
|
|
1421
1472
|
/**
|
|
1422
1473
|
* Bit field writer
|
|
1423
1474
|
*
|
|
1424
|
-
* Note: When returning to a byte
|
|
1475
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1425
1476
|
*
|
|
1426
1477
|
* @param {number} value - value as int
|
|
1427
1478
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1431,7 +1482,7 @@ export declare class biwriter {
|
|
|
1431
1482
|
/**
|
|
1432
1483
|
* Bit field writer
|
|
1433
1484
|
*
|
|
1434
|
-
* Note: When returning to a byte
|
|
1485
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1435
1486
|
*
|
|
1436
1487
|
* @param {number} value - value as int
|
|
1437
1488
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1442,7 +1493,7 @@ export declare class biwriter {
|
|
|
1442
1493
|
/**
|
|
1443
1494
|
* Bit field writer
|
|
1444
1495
|
*
|
|
1445
|
-
* Note: When returning to a byte
|
|
1496
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1446
1497
|
*
|
|
1447
1498
|
* @param {number} value - value as int
|
|
1448
1499
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1452,7 +1503,7 @@ export declare class biwriter {
|
|
|
1452
1503
|
/**
|
|
1453
1504
|
* Bit field writer
|
|
1454
1505
|
*
|
|
1455
|
-
* Note: When returning to a byte
|
|
1506
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1456
1507
|
*
|
|
1457
1508
|
* @param {number} value - value as int
|
|
1458
1509
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1463,7 +1514,7 @@ export declare class biwriter {
|
|
|
1463
1514
|
/**
|
|
1464
1515
|
* Bit field writer
|
|
1465
1516
|
*
|
|
1466
|
-
* Note: When returning to a byte
|
|
1517
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1467
1518
|
*
|
|
1468
1519
|
* @param {number} value - value as int
|
|
1469
1520
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1473,7 +1524,7 @@ export declare class biwriter {
|
|
|
1473
1524
|
/**
|
|
1474
1525
|
* Bit field writer
|
|
1475
1526
|
*
|
|
1476
|
-
* Note: When returning to a byte
|
|
1527
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1477
1528
|
*
|
|
1478
1529
|
* @param {number} value - value as int
|
|
1479
1530
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1484,7 +1535,7 @@ export declare class biwriter {
|
|
|
1484
1535
|
/**
|
|
1485
1536
|
* Bit field writer
|
|
1486
1537
|
*
|
|
1487
|
-
* Note: When returning to a byte
|
|
1538
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1488
1539
|
*
|
|
1489
1540
|
* @param {number} value - value as int
|
|
1490
1541
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1494,7 +1545,7 @@ export declare class biwriter {
|
|
|
1494
1545
|
/**
|
|
1495
1546
|
* Bit field writer
|
|
1496
1547
|
*
|
|
1497
|
-
* Note: When returning to a byte
|
|
1548
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1498
1549
|
*
|
|
1499
1550
|
* @param {number} value - value as int
|
|
1500
1551
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1505,7 +1556,7 @@ export declare class biwriter {
|
|
|
1505
1556
|
/**
|
|
1506
1557
|
* Bit field writer
|
|
1507
1558
|
*
|
|
1508
|
-
* Note: When returning to a byte
|
|
1559
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1509
1560
|
*
|
|
1510
1561
|
* @param {number} value - value as int
|
|
1511
1562
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1515,7 +1566,7 @@ export declare class biwriter {
|
|
|
1515
1566
|
/**
|
|
1516
1567
|
* Bit field writer
|
|
1517
1568
|
*
|
|
1518
|
-
* Note: When returning to a byte
|
|
1569
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1519
1570
|
*
|
|
1520
1571
|
* @param {number} value - value as int
|
|
1521
1572
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1526,7 +1577,7 @@ export declare class biwriter {
|
|
|
1526
1577
|
/**
|
|
1527
1578
|
* Bit field writer
|
|
1528
1579
|
*
|
|
1529
|
-
* Note: When returning to a byte
|
|
1580
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1530
1581
|
*
|
|
1531
1582
|
* @param {number} value - value as int
|
|
1532
1583
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1536,7 +1587,7 @@ export declare class biwriter {
|
|
|
1536
1587
|
/**
|
|
1537
1588
|
* Bit field writer
|
|
1538
1589
|
*
|
|
1539
|
-
* Note: When returning to a byte
|
|
1590
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1540
1591
|
*
|
|
1541
1592
|
* @param {number} value - value as int
|
|
1542
1593
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1547,7 +1598,7 @@ export declare class biwriter {
|
|
|
1547
1598
|
/**
|
|
1548
1599
|
* Bit field writer
|
|
1549
1600
|
*
|
|
1550
|
-
* Note: When returning to a byte
|
|
1601
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1551
1602
|
*
|
|
1552
1603
|
* @param {number} value - value as int
|
|
1553
1604
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1557,7 +1608,7 @@ export declare class biwriter {
|
|
|
1557
1608
|
/**
|
|
1558
1609
|
* Bit field writer
|
|
1559
1610
|
*
|
|
1560
|
-
* Note: When returning to a byte
|
|
1611
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1561
1612
|
*
|
|
1562
1613
|
* @param {number} value - value as int
|
|
1563
1614
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1568,7 +1619,7 @@ export declare class biwriter {
|
|
|
1568
1619
|
/**
|
|
1569
1620
|
* Bit field writer
|
|
1570
1621
|
*
|
|
1571
|
-
* Note: When returning to a byte
|
|
1622
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1572
1623
|
*
|
|
1573
1624
|
* @param {number} value - value as int
|
|
1574
1625
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1578,7 +1629,7 @@ export declare class biwriter {
|
|
|
1578
1629
|
/**
|
|
1579
1630
|
* Bit field writer
|
|
1580
1631
|
*
|
|
1581
|
-
* Note: When returning to a byte
|
|
1632
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1582
1633
|
*
|
|
1583
1634
|
* @param {number} value - value as int
|
|
1584
1635
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1589,7 +1640,7 @@ export declare class biwriter {
|
|
|
1589
1640
|
/**
|
|
1590
1641
|
* Bit field writer
|
|
1591
1642
|
*
|
|
1592
|
-
* Note: When returning to a byte
|
|
1643
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1593
1644
|
*
|
|
1594
1645
|
* @param {number} value - value as int
|
|
1595
1646
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1599,7 +1650,7 @@ export declare class biwriter {
|
|
|
1599
1650
|
/**
|
|
1600
1651
|
* Bit field writer
|
|
1601
1652
|
*
|
|
1602
|
-
* Note: When returning to a byte
|
|
1653
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1603
1654
|
*
|
|
1604
1655
|
* @param {number} value - value as int
|
|
1605
1656
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1610,7 +1661,7 @@ export declare class biwriter {
|
|
|
1610
1661
|
/**
|
|
1611
1662
|
* Bit field writer
|
|
1612
1663
|
*
|
|
1613
|
-
* Note: When returning to a byte
|
|
1664
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1614
1665
|
*
|
|
1615
1666
|
* @param {number} value - value as int
|
|
1616
1667
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1620,7 +1671,7 @@ export declare class biwriter {
|
|
|
1620
1671
|
/**
|
|
1621
1672
|
* Bit field writer
|
|
1622
1673
|
*
|
|
1623
|
-
* Note: When returning to a byte
|
|
1674
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1624
1675
|
*
|
|
1625
1676
|
* @param {number} value - value as int
|
|
1626
1677
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1631,7 +1682,7 @@ export declare class biwriter {
|
|
|
1631
1682
|
/**
|
|
1632
1683
|
* Bit field writer
|
|
1633
1684
|
*
|
|
1634
|
-
* Note: When returning to a byte
|
|
1685
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1635
1686
|
*
|
|
1636
1687
|
* @param {number} value - value as int
|
|
1637
1688
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1641,7 +1692,7 @@ export declare class biwriter {
|
|
|
1641
1692
|
/**
|
|
1642
1693
|
* Bit field writer
|
|
1643
1694
|
*
|
|
1644
|
-
* Note: When returning to a byte
|
|
1695
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1645
1696
|
*
|
|
1646
1697
|
* @param {number} value - value as int
|
|
1647
1698
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1652,7 +1703,7 @@ export declare class biwriter {
|
|
|
1652
1703
|
/**
|
|
1653
1704
|
* Bit field writer
|
|
1654
1705
|
*
|
|
1655
|
-
* Note: When returning to a byte
|
|
1706
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1656
1707
|
*
|
|
1657
1708
|
* @param {number} value - value as int
|
|
1658
1709
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1662,7 +1713,7 @@ export declare class biwriter {
|
|
|
1662
1713
|
/**
|
|
1663
1714
|
* Bit field writer
|
|
1664
1715
|
*
|
|
1665
|
-
* Note: When returning to a byte
|
|
1716
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1666
1717
|
*
|
|
1667
1718
|
* @param {number} value - value as int
|
|
1668
1719
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1673,7 +1724,7 @@ export declare class biwriter {
|
|
|
1673
1724
|
/**
|
|
1674
1725
|
* Bit field writer
|
|
1675
1726
|
*
|
|
1676
|
-
* Note: When returning to a byte
|
|
1727
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1677
1728
|
*
|
|
1678
1729
|
* @param {number} value - value as int
|
|
1679
1730
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1683,7 +1734,7 @@ export declare class biwriter {
|
|
|
1683
1734
|
/**
|
|
1684
1735
|
* Bit field writer
|
|
1685
1736
|
*
|
|
1686
|
-
* Note: When returning to a byte
|
|
1737
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1687
1738
|
*
|
|
1688
1739
|
* @param {number} value - value as int
|
|
1689
1740
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1694,7 +1745,7 @@ export declare class biwriter {
|
|
|
1694
1745
|
/**
|
|
1695
1746
|
* Bit field writer
|
|
1696
1747
|
*
|
|
1697
|
-
* Note: When returning to a byte
|
|
1748
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1698
1749
|
*
|
|
1699
1750
|
* @param {number} value - value as int
|
|
1700
1751
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1704,7 +1755,7 @@ export declare class biwriter {
|
|
|
1704
1755
|
/**
|
|
1705
1756
|
* Bit field writer
|
|
1706
1757
|
*
|
|
1707
|
-
* Note: When returning to a byte
|
|
1758
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1708
1759
|
*
|
|
1709
1760
|
* @param {number} value - value as int
|
|
1710
1761
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1715,7 +1766,7 @@ export declare class biwriter {
|
|
|
1715
1766
|
/**
|
|
1716
1767
|
* Bit field writer
|
|
1717
1768
|
*
|
|
1718
|
-
* Note: When returning to a byte
|
|
1769
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1719
1770
|
*
|
|
1720
1771
|
* @param {number} value - value as int
|
|
1721
1772
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1725,7 +1776,7 @@ export declare class biwriter {
|
|
|
1725
1776
|
/**
|
|
1726
1777
|
* Bit field writer
|
|
1727
1778
|
*
|
|
1728
|
-
* Note: When returning to a byte
|
|
1779
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1729
1780
|
*
|
|
1730
1781
|
* @param {number} value - value as int
|
|
1731
1782
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1736,7 +1787,7 @@ export declare class biwriter {
|
|
|
1736
1787
|
/**
|
|
1737
1788
|
* Bit field writer
|
|
1738
1789
|
*
|
|
1739
|
-
* Note: When returning to a byte
|
|
1790
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1740
1791
|
*
|
|
1741
1792
|
* @param {number} value - value as int
|
|
1742
1793
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1746,7 +1797,7 @@ export declare class biwriter {
|
|
|
1746
1797
|
/**
|
|
1747
1798
|
* Bit field writer
|
|
1748
1799
|
*
|
|
1749
|
-
* Note: When returning to a byte
|
|
1800
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1750
1801
|
*
|
|
1751
1802
|
* @param {number} value - value as int
|
|
1752
1803
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1757,7 +1808,7 @@ export declare class biwriter {
|
|
|
1757
1808
|
/**
|
|
1758
1809
|
* Bit field writer
|
|
1759
1810
|
*
|
|
1760
|
-
* Note: When returning to a byte
|
|
1811
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1761
1812
|
*
|
|
1762
1813
|
* @param {number} value - value as int
|
|
1763
1814
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1767,7 +1818,7 @@ export declare class biwriter {
|
|
|
1767
1818
|
/**
|
|
1768
1819
|
* Bit field writer
|
|
1769
1820
|
*
|
|
1770
|
-
* Note: When returning to a byte
|
|
1821
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1771
1822
|
*
|
|
1772
1823
|
* @param {number} value - value as int
|
|
1773
1824
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1778,7 +1829,7 @@ export declare class biwriter {
|
|
|
1778
1829
|
/**
|
|
1779
1830
|
* Bit field writer
|
|
1780
1831
|
*
|
|
1781
|
-
* Note: When returning to a byte
|
|
1832
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1782
1833
|
*
|
|
1783
1834
|
* @param {number} value - value as int
|
|
1784
1835
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1788,7 +1839,7 @@ export declare class biwriter {
|
|
|
1788
1839
|
/**
|
|
1789
1840
|
* Bit field writer
|
|
1790
1841
|
*
|
|
1791
|
-
* Note: When returning to a byte
|
|
1842
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1792
1843
|
*
|
|
1793
1844
|
* @param {number} value - value as int
|
|
1794
1845
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1799,7 +1850,7 @@ export declare class biwriter {
|
|
|
1799
1850
|
/**
|
|
1800
1851
|
* Bit field writer
|
|
1801
1852
|
*
|
|
1802
|
-
* Note: When returning to a byte
|
|
1853
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1803
1854
|
*
|
|
1804
1855
|
* @param {number} value - value as int
|
|
1805
1856
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1809,7 +1860,7 @@ export declare class biwriter {
|
|
|
1809
1860
|
/**
|
|
1810
1861
|
* Bit field writer
|
|
1811
1862
|
*
|
|
1812
|
-
* Note: When returning to a byte
|
|
1863
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1813
1864
|
*
|
|
1814
1865
|
* @param {number} value - value as int
|
|
1815
1866
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1820,7 +1871,7 @@ export declare class biwriter {
|
|
|
1820
1871
|
/**
|
|
1821
1872
|
* Bit field writer
|
|
1822
1873
|
*
|
|
1823
|
-
* Note: When returning to a byte
|
|
1874
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1824
1875
|
*
|
|
1825
1876
|
* @param {number} value - value as int
|
|
1826
1877
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1830,7 +1881,7 @@ export declare class biwriter {
|
|
|
1830
1881
|
/**
|
|
1831
1882
|
* Bit field writer
|
|
1832
1883
|
*
|
|
1833
|
-
* Note: When returning to a byte
|
|
1884
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1834
1885
|
*
|
|
1835
1886
|
* @param {number} value - value as int
|
|
1836
1887
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1841,7 +1892,7 @@ export declare class biwriter {
|
|
|
1841
1892
|
/**
|
|
1842
1893
|
* Bit field writer
|
|
1843
1894
|
*
|
|
1844
|
-
* Note: When returning to a byte
|
|
1895
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1845
1896
|
*
|
|
1846
1897
|
* @param {number} value - value as int
|
|
1847
1898
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1851,7 +1902,7 @@ export declare class biwriter {
|
|
|
1851
1902
|
/**
|
|
1852
1903
|
* Bit field writer
|
|
1853
1904
|
*
|
|
1854
|
-
* Note: When returning to a byte
|
|
1905
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1855
1906
|
*
|
|
1856
1907
|
* @param {number} value - value as int
|
|
1857
1908
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1862,7 +1913,7 @@ export declare class biwriter {
|
|
|
1862
1913
|
/**
|
|
1863
1914
|
* Bit field writer
|
|
1864
1915
|
*
|
|
1865
|
-
* Note: When returning to a byte
|
|
1916
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1866
1917
|
*
|
|
1867
1918
|
* @param {number} value - value as int
|
|
1868
1919
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1872,7 +1923,7 @@ export declare class biwriter {
|
|
|
1872
1923
|
/**
|
|
1873
1924
|
* Bit field writer
|
|
1874
1925
|
*
|
|
1875
|
-
* Note: When returning to a byte
|
|
1926
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1876
1927
|
*
|
|
1877
1928
|
* @param {number} value - value as int
|
|
1878
1929
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1883,7 +1934,7 @@ export declare class biwriter {
|
|
|
1883
1934
|
/**
|
|
1884
1935
|
* Bit field writer
|
|
1885
1936
|
*
|
|
1886
|
-
* Note: When returning to a byte
|
|
1937
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1887
1938
|
*
|
|
1888
1939
|
* @param {number} value - value as int
|
|
1889
1940
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1893,7 +1944,7 @@ export declare class biwriter {
|
|
|
1893
1944
|
/**
|
|
1894
1945
|
* Bit field writer
|
|
1895
1946
|
*
|
|
1896
|
-
* Note: When returning to a byte
|
|
1947
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1897
1948
|
*
|
|
1898
1949
|
* @param {number} value - value as int
|
|
1899
1950
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1904,7 +1955,7 @@ export declare class biwriter {
|
|
|
1904
1955
|
/**
|
|
1905
1956
|
* Bit field writer
|
|
1906
1957
|
*
|
|
1907
|
-
* Note: When returning to a byte
|
|
1958
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1908
1959
|
*
|
|
1909
1960
|
* @param {number} value - value as int
|
|
1910
1961
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1914,7 +1965,7 @@ export declare class biwriter {
|
|
|
1914
1965
|
/**
|
|
1915
1966
|
* Bit field writer
|
|
1916
1967
|
*
|
|
1917
|
-
* Note: When returning to a byte
|
|
1968
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1918
1969
|
*
|
|
1919
1970
|
* @param {number} value - value as int
|
|
1920
1971
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1925,7 +1976,7 @@ export declare class biwriter {
|
|
|
1925
1976
|
/**
|
|
1926
1977
|
* Bit field writer
|
|
1927
1978
|
*
|
|
1928
|
-
* Note: When returning to a byte
|
|
1979
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1929
1980
|
*
|
|
1930
1981
|
* @param {number} value - value as int
|
|
1931
1982
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1935,7 +1986,7 @@ export declare class biwriter {
|
|
|
1935
1986
|
/**
|
|
1936
1987
|
* Bit field writer
|
|
1937
1988
|
*
|
|
1938
|
-
* Note: When returning to a byte
|
|
1989
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1939
1990
|
*
|
|
1940
1991
|
* @param {number} value - value as int
|
|
1941
1992
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1946,7 +1997,7 @@ export declare class biwriter {
|
|
|
1946
1997
|
/**
|
|
1947
1998
|
* Bit field writer
|
|
1948
1999
|
*
|
|
1949
|
-
* Note: When returning to a byte
|
|
2000
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1950
2001
|
*
|
|
1951
2002
|
* @param {number} value - value as int
|
|
1952
2003
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1956,7 +2007,7 @@ export declare class biwriter {
|
|
|
1956
2007
|
/**
|
|
1957
2008
|
* Bit field writer
|
|
1958
2009
|
*
|
|
1959
|
-
* Note: When returning to a byte
|
|
2010
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1960
2011
|
*
|
|
1961
2012
|
* @param {number} value - value as int
|
|
1962
2013
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1967,7 +2018,7 @@ export declare class biwriter {
|
|
|
1967
2018
|
/**
|
|
1968
2019
|
* Bit field writer
|
|
1969
2020
|
*
|
|
1970
|
-
* Note: When returning to a byte
|
|
2021
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1971
2022
|
*
|
|
1972
2023
|
* @param {number} value - value as int
|
|
1973
2024
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1977,7 +2028,7 @@ export declare class biwriter {
|
|
|
1977
2028
|
/**
|
|
1978
2029
|
* Bit field writer
|
|
1979
2030
|
*
|
|
1980
|
-
* Note: When returning to a byte
|
|
2031
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1981
2032
|
*
|
|
1982
2033
|
* @param {number} value - value as int
|
|
1983
2034
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1988,7 +2039,7 @@ export declare class biwriter {
|
|
|
1988
2039
|
/**
|
|
1989
2040
|
* Bit field writer
|
|
1990
2041
|
*
|
|
1991
|
-
* Note: When returning to a byte
|
|
2042
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
1992
2043
|
*
|
|
1993
2044
|
* @param {number} value - value as int
|
|
1994
2045
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -1998,7 +2049,7 @@ export declare class biwriter {
|
|
|
1998
2049
|
/**
|
|
1999
2050
|
* Bit field writer
|
|
2000
2051
|
*
|
|
2001
|
-
* Note: When returning to a byte
|
|
2052
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2002
2053
|
*
|
|
2003
2054
|
* @param {number} value - value as int
|
|
2004
2055
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2009,7 +2060,7 @@ export declare class biwriter {
|
|
|
2009
2060
|
/**
|
|
2010
2061
|
* Bit field writer
|
|
2011
2062
|
*
|
|
2012
|
-
* Note: When returning to a byte
|
|
2063
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2013
2064
|
*
|
|
2014
2065
|
* @param {number} value - value as int
|
|
2015
2066
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2019,7 +2070,7 @@ export declare class biwriter {
|
|
|
2019
2070
|
/**
|
|
2020
2071
|
* Bit field writer
|
|
2021
2072
|
*
|
|
2022
|
-
* Note: When returning to a byte
|
|
2073
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2023
2074
|
*
|
|
2024
2075
|
* @param {number} value - value as int
|
|
2025
2076
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2030,7 +2081,7 @@ export declare class biwriter {
|
|
|
2030
2081
|
/**
|
|
2031
2082
|
* Bit field writer
|
|
2032
2083
|
*
|
|
2033
|
-
* Note: When returning to a byte
|
|
2084
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2034
2085
|
*
|
|
2035
2086
|
* @param {number} value - value as int
|
|
2036
2087
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2040,7 +2091,7 @@ export declare class biwriter {
|
|
|
2040
2091
|
/**
|
|
2041
2092
|
* Bit field writer
|
|
2042
2093
|
*
|
|
2043
|
-
* Note: When returning to a byte
|
|
2094
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2044
2095
|
*
|
|
2045
2096
|
* @param {number} value - value as int
|
|
2046
2097
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2051,7 +2102,7 @@ export declare class biwriter {
|
|
|
2051
2102
|
/**
|
|
2052
2103
|
* Bit field writer
|
|
2053
2104
|
*
|
|
2054
|
-
* Note: When returning to a byte
|
|
2105
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2055
2106
|
*
|
|
2056
2107
|
* @param {number} value - value as int
|
|
2057
2108
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2061,7 +2112,7 @@ export declare class biwriter {
|
|
|
2061
2112
|
/**
|
|
2062
2113
|
* Bit field writer
|
|
2063
2114
|
*
|
|
2064
|
-
* Note: When returning to a byte
|
|
2115
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2065
2116
|
*
|
|
2066
2117
|
* @param {number} value - value as int
|
|
2067
2118
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2072,7 +2123,7 @@ export declare class biwriter {
|
|
|
2072
2123
|
/**
|
|
2073
2124
|
* Bit field writer
|
|
2074
2125
|
*
|
|
2075
|
-
* Note: When returning to a byte
|
|
2126
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2076
2127
|
*
|
|
2077
2128
|
* @param {number} value - value as int
|
|
2078
2129
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2082,7 +2133,7 @@ export declare class biwriter {
|
|
|
2082
2133
|
/**
|
|
2083
2134
|
* Bit field writer
|
|
2084
2135
|
*
|
|
2085
|
-
* Note: When returning to a byte
|
|
2136
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2086
2137
|
*
|
|
2087
2138
|
* @param {number} value - value as int
|
|
2088
2139
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2093,7 +2144,7 @@ export declare class biwriter {
|
|
|
2093
2144
|
/**
|
|
2094
2145
|
* Bit field writer
|
|
2095
2146
|
*
|
|
2096
|
-
* Note: When returning to a byte
|
|
2147
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2097
2148
|
*
|
|
2098
2149
|
* @param {number} value - value as int
|
|
2099
2150
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2103,7 +2154,7 @@ export declare class biwriter {
|
|
|
2103
2154
|
/**
|
|
2104
2155
|
* Bit field writer
|
|
2105
2156
|
*
|
|
2106
|
-
* Note: When returning to a byte
|
|
2157
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2107
2158
|
*
|
|
2108
2159
|
* @param {number} value - value as int
|
|
2109
2160
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2114,7 +2165,7 @@ export declare class biwriter {
|
|
|
2114
2165
|
/**
|
|
2115
2166
|
* Bit field writer
|
|
2116
2167
|
*
|
|
2117
|
-
* Note: When returning to a byte
|
|
2168
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2118
2169
|
*
|
|
2119
2170
|
* @param {number} value - value as int
|
|
2120
2171
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2124,7 +2175,7 @@ export declare class biwriter {
|
|
|
2124
2175
|
/**
|
|
2125
2176
|
* Bit field writer
|
|
2126
2177
|
*
|
|
2127
|
-
* Note: When returning to a byte
|
|
2178
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2128
2179
|
*
|
|
2129
2180
|
* @param {number} value - value as int
|
|
2130
2181
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2135,7 +2186,7 @@ export declare class biwriter {
|
|
|
2135
2186
|
/**
|
|
2136
2187
|
* Bit field writer
|
|
2137
2188
|
*
|
|
2138
|
-
* Note: When returning to a byte
|
|
2189
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2139
2190
|
*
|
|
2140
2191
|
* @param {number} value - value as int
|
|
2141
2192
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2145,7 +2196,7 @@ export declare class biwriter {
|
|
|
2145
2196
|
/**
|
|
2146
2197
|
* Bit field writer
|
|
2147
2198
|
*
|
|
2148
|
-
* Note: When returning to a byte
|
|
2199
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2149
2200
|
*
|
|
2150
2201
|
* @param {number} value - value as int
|
|
2151
2202
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2156,7 +2207,7 @@ export declare class biwriter {
|
|
|
2156
2207
|
/**
|
|
2157
2208
|
* Bit field writer
|
|
2158
2209
|
*
|
|
2159
|
-
* Note: When returning to a byte
|
|
2210
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2160
2211
|
*
|
|
2161
2212
|
* @param {number} value - value as int
|
|
2162
2213
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2166,7 +2217,7 @@ export declare class biwriter {
|
|
|
2166
2217
|
/**
|
|
2167
2218
|
* Bit field writer
|
|
2168
2219
|
*
|
|
2169
|
-
* Note: When returning to a byte
|
|
2220
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2170
2221
|
*
|
|
2171
2222
|
* @param {number} value - value as int
|
|
2172
2223
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2177,7 +2228,7 @@ export declare class biwriter {
|
|
|
2177
2228
|
/**
|
|
2178
2229
|
* Bit field writer
|
|
2179
2230
|
*
|
|
2180
|
-
* Note: When returning to a byte
|
|
2231
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2181
2232
|
*
|
|
2182
2233
|
* @param {number} value - value as int
|
|
2183
2234
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2187,7 +2238,7 @@ export declare class biwriter {
|
|
|
2187
2238
|
/**
|
|
2188
2239
|
* Bit field writer
|
|
2189
2240
|
*
|
|
2190
|
-
* Note: When returning to a byte
|
|
2241
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2191
2242
|
*
|
|
2192
2243
|
* @param {number} value - value as int
|
|
2193
2244
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2198,7 +2249,7 @@ export declare class biwriter {
|
|
|
2198
2249
|
/**
|
|
2199
2250
|
* Bit field writer
|
|
2200
2251
|
*
|
|
2201
|
-
* Note: When returning to a byte
|
|
2252
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2202
2253
|
*
|
|
2203
2254
|
* @param {number} value - value as int
|
|
2204
2255
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2208,7 +2259,7 @@ export declare class biwriter {
|
|
|
2208
2259
|
/**
|
|
2209
2260
|
* Bit field writer
|
|
2210
2261
|
*
|
|
2211
|
-
* Note: When returning to a byte
|
|
2262
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2212
2263
|
*
|
|
2213
2264
|
* @param {number} value - value as int
|
|
2214
2265
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2219,7 +2270,7 @@ export declare class biwriter {
|
|
|
2219
2270
|
/**
|
|
2220
2271
|
* Bit field writer
|
|
2221
2272
|
*
|
|
2222
|
-
* Note: When returning to a byte
|
|
2273
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2223
2274
|
*
|
|
2224
2275
|
* @param {number} value - value as int
|
|
2225
2276
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2229,7 +2280,7 @@ export declare class biwriter {
|
|
|
2229
2280
|
/**
|
|
2230
2281
|
* Bit field writer
|
|
2231
2282
|
*
|
|
2232
|
-
* Note: When returning to a byte
|
|
2283
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2233
2284
|
*
|
|
2234
2285
|
* @param {number} value - value as int
|
|
2235
2286
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2240,7 +2291,7 @@ export declare class biwriter {
|
|
|
2240
2291
|
/**
|
|
2241
2292
|
* Bit field writer
|
|
2242
2293
|
*
|
|
2243
|
-
* Note: When returning to a byte
|
|
2294
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2244
2295
|
*
|
|
2245
2296
|
* @param {number} value - value as int
|
|
2246
2297
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2250,7 +2301,7 @@ export declare class biwriter {
|
|
|
2250
2301
|
/**
|
|
2251
2302
|
* Bit field writer
|
|
2252
2303
|
*
|
|
2253
|
-
* Note: When returning to a byte
|
|
2304
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2254
2305
|
*
|
|
2255
2306
|
* @param {number} value - value as int
|
|
2256
2307
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2261,7 +2312,7 @@ export declare class biwriter {
|
|
|
2261
2312
|
/**
|
|
2262
2313
|
* Bit field writer
|
|
2263
2314
|
*
|
|
2264
|
-
* Note: When returning to a byte
|
|
2315
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2265
2316
|
*
|
|
2266
2317
|
* @param {number} value - value as int
|
|
2267
2318
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2271,7 +2322,7 @@ export declare class biwriter {
|
|
|
2271
2322
|
/**
|
|
2272
2323
|
* Bit field writer
|
|
2273
2324
|
*
|
|
2274
|
-
* Note: When returning to a byte
|
|
2325
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2275
2326
|
*
|
|
2276
2327
|
* @param {number} value - value as int
|
|
2277
2328
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2282,7 +2333,7 @@ export declare class biwriter {
|
|
|
2282
2333
|
/**
|
|
2283
2334
|
* Bit field writer
|
|
2284
2335
|
*
|
|
2285
|
-
* Note: When returning to a byte
|
|
2336
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2286
2337
|
*
|
|
2287
2338
|
* @param {number} value - value as int
|
|
2288
2339
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2292,7 +2343,7 @@ export declare class biwriter {
|
|
|
2292
2343
|
/**
|
|
2293
2344
|
* Bit field writer
|
|
2294
2345
|
*
|
|
2295
|
-
* Note: When returning to a byte
|
|
2346
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2296
2347
|
*
|
|
2297
2348
|
* @param {number} value - value as int
|
|
2298
2349
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2303,7 +2354,7 @@ export declare class biwriter {
|
|
|
2303
2354
|
/**
|
|
2304
2355
|
* Bit field writer
|
|
2305
2356
|
*
|
|
2306
|
-
* Note: When returning to a byte
|
|
2357
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2307
2358
|
*
|
|
2308
2359
|
* @param {number} value - value as int
|
|
2309
2360
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2313,7 +2364,7 @@ export declare class biwriter {
|
|
|
2313
2364
|
/**
|
|
2314
2365
|
* Bit field writer
|
|
2315
2366
|
*
|
|
2316
|
-
* Note: When returning to a byte
|
|
2367
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2317
2368
|
*
|
|
2318
2369
|
* @param {number} value - value as int
|
|
2319
2370
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2324,7 +2375,7 @@ export declare class biwriter {
|
|
|
2324
2375
|
/**
|
|
2325
2376
|
* Bit field writer
|
|
2326
2377
|
*
|
|
2327
|
-
* Note: When returning to a byte
|
|
2378
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2328
2379
|
*
|
|
2329
2380
|
* @param {number} value - value as int
|
|
2330
2381
|
* @param {number} offsetBits - bit offset from current byte position to start the write (defaults last bit position)
|
|
@@ -2334,7 +2385,7 @@ export declare class biwriter {
|
|
|
2334
2385
|
/**
|
|
2335
2386
|
* Bit field writer
|
|
2336
2387
|
*
|
|
2337
|
-
* Note: When returning to a byte
|
|
2388
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2338
2389
|
*
|
|
2339
2390
|
* @param {number} value - value as int
|
|
2340
2391
|
* @param {number} bits - number of bits to write
|
|
@@ -2346,7 +2397,7 @@ export declare class biwriter {
|
|
|
2346
2397
|
/**
|
|
2347
2398
|
* Bit field writer
|
|
2348
2399
|
*
|
|
2349
|
-
* Note: When returning to a byte
|
|
2400
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2350
2401
|
*
|
|
2351
2402
|
* @param {number} value - value as int
|
|
2352
2403
|
* @param {number} bits - number of bits to write
|
|
@@ -2358,7 +2409,7 @@ export declare class biwriter {
|
|
|
2358
2409
|
/**
|
|
2359
2410
|
* Bit field writer
|
|
2360
2411
|
*
|
|
2361
|
-
* Note: When returning to a byte
|
|
2412
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2362
2413
|
*
|
|
2363
2414
|
* @param {number} value - value as int
|
|
2364
2415
|
* @param {number} bits - number of bits to write
|
|
@@ -2370,7 +2421,7 @@ export declare class biwriter {
|
|
|
2370
2421
|
/**
|
|
2371
2422
|
* Bit field writer
|
|
2372
2423
|
*
|
|
2373
|
-
* Note: When returning to a byte
|
|
2424
|
+
* Note: When returning to a byte write, remaining bits are dropped
|
|
2374
2425
|
*
|
|
2375
2426
|
* @param {number} value - value as int
|
|
2376
2427
|
* @param {number} bits - number of bits to write
|