C# Class Disco.Services.DocumentUniqueIdentifierExtensions

Show file Open project: garysharp/Disco

Public Methods

Method Description
BinaryAlphaDecode ( byte Data, int Offset, int &NewOffset ) : string
BinaryC21Decode ( byte Data, int Offset, int &NewOffset ) : string
BinaryDecode ( byte Data, int Offset, int &NewOffset ) : string
BinaryDecode ( this Identifier, byte Data, int Offset, int &NewOffset ) : string
BinaryEncode ( string Data ) : byte[]
BinaryEncode ( this Identifier, string Data ) : byte[]
BinaryNumericDecode ( byte Data, int Offset, int &NewOffset ) : string
BinaryUTF8Decode ( byte Data, int Offset, int &NewOffset ) : string
BinaryUTF8Encode ( string Data ) : byte[]
CreateUniqueIdentifier ( this Template, DiscoDataContext Database, IAttachmentTarget Target, User Creator, System.DateTime Timestamp, int PageIndex ) : DocumentUniqueIdentifier
TryBinaryAlphaEncode ( string Data, byte &Result ) : bool
TryBinaryC21Encode ( string Data, byte &Result ) : bool
TryBinaryNumericEncode ( string Data, byte &Result ) : bool

Private Methods

Method Description
BinaryAlphaDecode ( byte Data, int Offset, int Length, int &NewOffset ) : string

Method Details

BinaryAlphaDecode() public static method

public static BinaryAlphaDecode ( byte Data, int Offset, int &NewOffset ) : string
Data byte
Offset int
NewOffset int
return string

BinaryC21Decode() public static method

public static BinaryC21Decode ( byte Data, int Offset, int &NewOffset ) : string
Data byte
Offset int
NewOffset int
return string

BinaryDecode() public static method

public static BinaryDecode ( byte Data, int Offset, int &NewOffset ) : string
Data byte
Offset int
NewOffset int
return string

BinaryDecode() public static method

public static BinaryDecode ( this Identifier, byte Data, int Offset, int &NewOffset ) : string
Identifier this
Data byte
Offset int
NewOffset int
return string

BinaryEncode() public static method

public static BinaryEncode ( string Data ) : byte[]
Data string
return byte[]

BinaryEncode() public static method

public static BinaryEncode ( this Identifier, string Data ) : byte[]
Identifier this
Data string
return byte[]

BinaryNumericDecode() public static method

public static BinaryNumericDecode ( byte Data, int Offset, int &NewOffset ) : string
Data byte
Offset int
NewOffset int
return string

BinaryUTF8Decode() public static method

public static BinaryUTF8Decode ( byte Data, int Offset, int &NewOffset ) : string
Data byte
Offset int
NewOffset int
return string

BinaryUTF8Encode() public static method

public static BinaryUTF8Encode ( string Data ) : byte[]
Data string
return byte[]

CreateUniqueIdentifier() public static method

public static CreateUniqueIdentifier ( this Template, DiscoDataContext Database, IAttachmentTarget Target, User Creator, System.DateTime Timestamp, int PageIndex ) : DocumentUniqueIdentifier
Template this
Database Disco.Data.Repository.DiscoDataContext
Target IAttachmentTarget
Creator Disco.Models.Repository.User
Timestamp System.DateTime
PageIndex int
return Disco.Services.Documents.DocumentUniqueIdentifier

TryBinaryAlphaEncode() public static method

public static TryBinaryAlphaEncode ( string Data, byte &Result ) : bool
Data string
Result byte
return bool

TryBinaryC21Encode() public static method

public static TryBinaryC21Encode ( string Data, byte &Result ) : bool
Data string
Result byte
return bool

TryBinaryNumericEncode() public static method

public static TryBinaryNumericEncode ( string Data, byte &Result ) : bool
Data string
Result byte
return bool