C# 클래스 GitSharp.Core.ObjectId

상속: AnyObjectId
파일 보기 프로젝트 열기: stschake/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( byte firstBuffer, int fi, byte secondBuffer, int si ) : bool

Compare to object identifier byte sequences for equality.

FromHexString ( byte bs, int p ) : ObjectId
FromRaw ( byte buffer ) : ObjectId
FromRaw ( byte buffer, int offset ) : ObjectId
FromRaw ( int intbuffer ) : ObjectId
FromRaw ( int intbuffer, int offset ) : ObjectId
FromString ( byte bs, int offset ) : ObjectId

Convert an ObjectId from raw binary representation.

FromString ( string str ) : ObjectId

Convert an ObjectId from raw binary representation.

IsId ( string id ) : bool

Test a string of characters to verify it is a hex format. If true the string can be parsed with FromString(string).

ObjectId ( AnyObjectId src ) : System
ToObjectId ( ) : ObjectId
ToString ( ObjectId i ) : string

Convert an ObjectId into a hex string representation.

비공개 메소드들

메소드 설명
ObjectId ( ) : System
ObjectId ( int w1, int w2, int w3, int w4, int w5 ) : System

메소드 상세

Equals() 공개 정적인 메소드

Compare to object identifier byte sequences for equality.
public static Equals ( byte firstBuffer, int fi, byte secondBuffer, int si ) : bool
firstBuffer byte /// the first buffer to compare against. Must have at least 20 /// bytes from position ai through the end of the buffer. ///
fi int /// first offset within firstBuffer to begin testing. ///
secondBuffer byte /// the second buffer to compare against. Must have at least 2 /// bytes from position bi through the end of the buffer. ///
si int /// first offset within secondBuffer to begin testing. ///
리턴 bool

FromHexString() 공개 정적인 메소드

public static FromHexString ( byte bs, int p ) : ObjectId
bs byte
p int
리턴 ObjectId

FromRaw() 공개 정적인 메소드

public static FromRaw ( byte buffer ) : ObjectId
buffer byte
리턴 ObjectId

FromRaw() 공개 정적인 메소드

public static FromRaw ( byte buffer, int offset ) : ObjectId
buffer byte
offset int
리턴 ObjectId

FromRaw() 공개 정적인 메소드

public static FromRaw ( int intbuffer ) : ObjectId
intbuffer int
리턴 ObjectId

FromRaw() 공개 정적인 메소드

public static FromRaw ( int intbuffer, int offset ) : ObjectId
intbuffer int
offset int
리턴 ObjectId

FromString() 공개 정적인 메소드

Convert an ObjectId from raw binary representation.
public static FromString ( byte bs, int offset ) : ObjectId
bs byte /// The raw byte buffer to read from. At least 20 bytes after /// must be available within this byte array. ///
offset int /// Position to read the first byte of data from. ///
리턴 ObjectId

FromString() 공개 정적인 메소드

Convert an ObjectId from raw binary representation.
public static FromString ( string str ) : ObjectId
str string /// The raw byte buffer to read from. At least 20 bytes must be /// available within this byte array. ///
리턴 ObjectId

IsId() 공개 정적인 메소드

Test a string of characters to verify it is a hex format. If true the string can be parsed with FromString(string).
public static IsId ( string id ) : bool
id string the string to test.
리턴 bool

ObjectId() 공개 메소드

public ObjectId ( AnyObjectId src ) : System
src AnyObjectId
리턴 System

ToObjectId() 공개 메소드

public ToObjectId ( ) : ObjectId
리턴 ObjectId

ToString() 공개 정적인 메소드

Convert an ObjectId into a hex string representation.
public static ToString ( ObjectId i ) : string
i ObjectId The id to convert. May be null.
리턴 string