C# 클래스 Accord.Video.ByteArrayUtils

Some internal utilities for handling arrays.
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Compare ( byte array, byte needle, int startIndex ) : bool

Check if the array contains needle at specified position.

Find ( byte array, byte needle, int startIndex, int sourceLength ) : int

Find subarray in the source array.

메소드 상세

Compare() 공개 정적인 메소드

Check if the array contains needle at specified position.
public static Compare ( byte array, byte needle, int startIndex ) : bool
array byte Source array to check for needle.
needle byte Needle we are searching for.
startIndex int Start index in source array.
리턴 bool

Find() 공개 정적인 메소드

Find subarray in the source array.
public static Find ( byte array, byte needle, int startIndex, int sourceLength ) : int
array byte Source array to search for needle.
needle byte Needle we are searching for.
startIndex int Start index in source array.
sourceLength int Number of bytes in source array, where the needle is searched for.
리턴 int