This interface describes a data pattern that can be passed to the following methods:
It is declared as
type Data = string | number[] | ArrayLike<number> | ${Bytes#Pattern.Bytes} | ${TextWithEncoding#Pattern.TextWithEncoding};
That means that string, number array or typed array as well as Pattern.Bytes or Pattern.TextWithEncoding objects may be passed to those methods as patterns.