[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static long IndexOf(
this FileStream stream,
byte[] pattern,
long startPosition,
long count
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function IndexOf (
stream As FileStream,
pattern As Byte(),
startPosition As Long,
count As Long
) As Long
Dim stream As FileStream
Dim pattern As Byte()
Dim startPosition As Long
Dim count As Long
Dim returnValue As Long
returnValue = stream.IndexOf(pattern,
startPosition, count)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static long long IndexOf(
FileStream^ stream,
array<unsigned char>^ pattern,
long long startPosition,
long long count
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member IndexOf :
stream : FileStream *
pattern : byte[] *
startPosition : int64 *
count : int64 -> int64
No code example is currently available or this language may not be supported.
[Missing <param name="pattern"/> documentation for "M:DevCase.Extensions.FileStreamExtensions.FileStreamExtensions.IndexOf(System.IO.FileStream,System.Byte[],System.Int64,System.Int64)"]
No code example is currently available or this language may not be supported.
Dim filePath As String = "C:\file.bin"
Dim bytePattern As Byte() = {0, 0, 0}
Using fs As New FileStream(filePath, FileMode.Open)
Dim position As Long = fs.IndexOf(bytePattern, startPosition:=0, count:=10)
Console.WriteLine($"Position: {position}")
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.