C# 클래스 Git.Core.SHA1

Struct that represent a SHA1 hash
파일 보기 프로젝트 열기: igorgue/git-sharp 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( SHA1 o ) : bool
GetGitFileName ( ) : string
GetHashCode ( ) : int
SHA1 ( byte data, bool calculateHash ) : System
ToBytes ( string hex ) : byte[]
ToHexString ( ) : string
ToHexString ( int start, int size ) : string

Convert a Byte array to Hexadecimal format

비공개 메소드들

메소드 설명
ComputeSHA1Hash ( byte bytes ) : byte[]

Compute the byte array to a SHA1 hash

ToByte ( char c ) : byte

메소드 상세

Equals() 공개 메소드

public Equals ( SHA1 o ) : bool
o SHA1
리턴 bool

GetGitFileName() 공개 메소드

public GetGitFileName ( ) : string
리턴 string

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

SHA1() 공개 메소드

public SHA1 ( byte data, bool calculateHash ) : System
data byte
calculateHash bool
리턴 System

ToBytes() 공개 정적인 메소드

public static ToBytes ( string hex ) : byte[]
hex string
리턴 byte[]

ToHexString() 공개 메소드

public ToHexString ( ) : string
리턴 string

ToHexString() 공개 메소드

Convert a Byte array to Hexadecimal format
public ToHexString ( int start, int size ) : string
start int
size int
리턴 string