BMMatcher.InsufficientData Method
Tests whether the search buffer ends with a prefix of the specified pattern.
Namespace: Microsoft.Web.Services3.Mime
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim data() As Byte
Dim offset As Integer
Dim count As Integer
Dim shift As Integer
Dim returnValue As Boolean
Dim bMMatcher1 As BMMatcher
returnValue = bMMatcher1.InsufficientData(data, offset, count, shift)
Syntax
'Declaration
Public Function InsufficientData( _
ByVal data() As Byte, _
ByVal offset As Integer, _
ByVal count As Integer, _
ByRef shift As Integer _
) As Boolean
public bool InsufficientData(
byte[] data,
int offset,
int count,
ref int shift
);
public:
bool InsufficientData(
array<unsigned char>^ data,
int offset,
int count,
int% shift
);
public boolean InsufficientData(
ubyte[] data,
int offset,
int count,
/*ref*/int shift
);
public function InsufficientData(
data : Byte[],
offset : int,
count : int,
shift : int
) : Boolean;
Parameters
- data
The value to be searched.
- offset
The index at which search begins.
- count
The number of bytes to search.
- shift
The index location in the buffer where the match is found.
Return Value
true if a match was found, false otherwise.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
BMMatcher Class
BMMatcher Members
Microsoft.Web.Services3.Mime Namespace