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