26 lines
719 B
TypeScript
26 lines
719 B
TypeScript
|
import { Predicate, PredicateOptions } from './predicate';
|
||
|
export declare class DataViewPredicate extends Predicate<DataView> {
|
||
|
/**
|
||
|
@hidden
|
||
|
*/
|
||
|
constructor(options?: PredicateOptions);
|
||
|
/**
|
||
|
Test a DataView to have a specific byte length.
|
||
|
|
||
|
@param byteLength - The byte length of the DataView.
|
||
|
*/
|
||
|
byteLength(byteLength: number): this;
|
||
|
/**
|
||
|
Test a DataView to have a minimum byte length.
|
||
|
|
||
|
@param byteLength - The minimum byte length of the DataView.
|
||
|
*/
|
||
|
minByteLength(byteLength: number): this;
|
||
|
/**
|
||
|
Test a DataView to have a minimum byte length.
|
||
|
|
||
|
@param length - The minimum byte length of the DataView.
|
||
|
*/
|
||
|
maxByteLength(byteLength: number): this;
|
||
|
}
|