C# Класс GitSharp.Core.Util.StringExtension

Показать файл Открыть проект

Открытые методы

Метод Описание
Slice ( this longstring, int beginIndex, int endIndex ) : string

Helper function to easily replace all occurences of the incompatible string.Substring method in ported java code

getBytes ( this plainString ) : byte[]
getBytes ( this plainString, string encodingAlias ) : byte[]

Описание методов

Slice() публичный статический Метод

Helper function to easily replace all occurences of the incompatible string.Substring method in ported java code
public static Slice ( this longstring, int beginIndex, int endIndex ) : string
longstring this The string from which a part has to extracted.
beginIndex int The beginning index, inclusive.
endIndex int The ending index, exclusive.
Результат string

getBytes() публичный статический Метод

public static getBytes ( this plainString ) : byte[]
plainString this
Результат byte[]

getBytes() публичный статический Метод

public static getBytes ( this plainString, string encodingAlias ) : byte[]
plainString this
encodingAlias string
Результат byte[]