Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
DecodeStringStrict ( byte value ) : string |
Decode specified byte[] by default encoding.
|
|
EncodeString ( string value ) : byte[] |
Encode specified string by default encoding.
|
|
FromDateTime ( System.DateTime value ) : long |
Convert specified DateTime to Int64 as MessagePack defacto-standard.
|
|
FromDateTimeOffset ( DateTimeOffset value ) : long |
Convert specified DateTimeOffset to Int64 as MessagePack defacto-standard.
|
|
ToDateTime ( long value ) : System.DateTime |
Convert specified Int64 to DateTime.
|
|
ToDateTimeOffset ( long value ) : DateTimeOffset |
Convert specified Int64 to DateTimeOffset.
|
public static DecodeStringStrict ( byte value ) : string | ||
value | byte | Byte[] value. |
Результат | string |
public static EncodeString ( string value ) : byte[] | ||
value | string | String value. |
Результат | byte[] |
public static FromDateTime ( System.DateTime value ) : long | ||
value | System.DateTime | |
Результат | long |
public static FromDateTimeOffset ( DateTimeOffset value ) : long | ||
value | DateTimeOffset | |
Результат | long |
public static ToDateTime ( long value ) : System.DateTime | ||
value | long |
/// |
Результат | System.DateTime |
public static ToDateTimeOffset ( long value ) : DateTimeOffset | ||
value | long |
/// |
Результат | DateTimeOffset |