C# Class Files.FileUtilities

显示文件 Open project: Afr0Games/Project-Dollhouse

Public Methods

Method Description
BinaryContains ( this stream, byte pattern ) : int

A simple pattern matcher for finding byte patterns in streams. Written by Rhys Simpson.

GenerateHash ( string Filename ) : byte[]

Generates a hash from a filename.

Method Details

BinaryContains() public static method

A simple pattern matcher for finding byte patterns in streams. Written by Rhys Simpson.
public static BinaryContains ( this stream, byte pattern ) : int
stream this Stream to search.
pattern byte Pattern to match.
return int

GenerateHash() public static method

Generates a hash from a filename.
public static GenerateHash ( string Filename ) : byte[]
Filename string The filename to hash.
return byte[]