Property | Type | Description | |
---|---|---|---|
CHARSET | |||
PACK_SIGNATURE | byte[] | ||
RefSearchPaths | string[] | ||
TYPE_TAG | string |
Method | Description | |
---|---|---|
decodeTypeString ( AnyObjectId id, byte typeString, byte endMark, MutableInteger offset ) : int |
Parse an encoded type string into a type constant.
|
|
encode ( string str ) : byte[] |
Convert a string to a byte array in UTF-8 character encoding.
|
|
encodeASCII ( long s ) : byte[] |
Convert an integer into its decimal representation.
|
|
encodeASCII ( string s ) : byte[] |
Convert a string to US-ASCII encoding.
|
|
encodedTypeString ( int typeCode ) : byte[] |
Convert an OBJ_* type constant to an ASCII encoded string constant.
|
|
newMessageDigest ( ) : MessageDigest |
Create a new digest function for objects.
|
|
typeString ( int typeCode ) : string |
Convert an OBJ_* type constant to a TYPE_* type constant.
|
public static decodeTypeString ( AnyObjectId id, byte typeString, byte endMark, MutableInteger offset ) : int | ||
id | AnyObjectId |
/// |
typeString | byte | string version of the type code. |
endMark | byte | /// Character immediately following the type string. Usually ' ' /// (space) or '\n' (line feed). /// |
offset | MutableInteger |
/// Position within |
return | int |
public static encode ( string str ) : byte[] | ||
str | string | /// The string to convert. May contain any Unicode characters. /// |
return | byte[] |
public static encodeASCII ( long s ) : byte[] | ||
s | long | the integer to convert. |
return | byte[] |
public static encodeASCII ( string s ) : byte[] | ||
s | string | /// The string to convert. Must not contain any characters over /// 127 (outside of 7-bit ASCII). /// |
return | byte[] |
public static encodedTypeString ( int typeCode ) : byte[] | ||
typeCode | int | /// typeCode the type code, from a pack representation. /// |
return | byte[] |
public static newMessageDigest ( ) : MessageDigest | ||
return | MessageDigest |
public static typeString ( int typeCode ) : string | ||
typeCode | int | /// typeCode the type code, from a pack representation. /// |
return | string |
public static Encoding,System.Text CHARSET | ||
return |