Skyline/node_modules/ow/dist/predicates/data-view.d.ts

26 lines
719 B
TypeScript
Raw Normal View History

2021-11-22 17:39:03 +00:00
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;
}