Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
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. |
Résultat | string |
public static EncodeString ( string value ) : byte[] | ||
value | string | String value. |
Résultat | byte[] |
public static FromDateTime ( System.DateTime value ) : long | ||
value | System.DateTime | |
Résultat | long |
public static FromDateTimeOffset ( DateTimeOffset value ) : long | ||
value | DateTimeOffset | |
Résultat | long |
public static ToDateTime ( long value ) : System.DateTime | ||
value | long |
/// |
Résultat | System.DateTime |
public static ToDateTimeOffset ( long value ) : DateTimeOffset | ||
value | long |
/// |
Résultat | DateTimeOffset |