1 | import { Predicate, type PredicateOptions } from './predicate.js';
|
2 | export declare class DataViewPredicate extends Predicate<DataView> {
|
3 | |
4 |
|
5 |
|
6 | constructor(options?: PredicateOptions);
|
7 | /**
|
8 | Test a DataView to have a specific byte length.
|
9 |
|
10 | @param byteLength - The byte length of the DataView.
|
11 | */
|
12 | byteLength(byteLength: number): this;
|
13 | /**
|
14 | Test a DataView to have a minimum byte length.
|
15 |
|
16 | @param byteLength - The minimum byte length of the DataView.
|
17 | */
|
18 | minByteLength(byteLength: number): this;
|
19 | /**
|
20 | Test a DataView to have a minimum byte length.
|
21 |
|
22 | @param length - The minimum byte length of the DataView.
|
23 | */
|
24 | maxByteLength(byteLength: number): this;
|
25 | }
|