Property | Type | Description |
---|
Method | 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. |
return | string |
public static EncodeString ( string value ) : byte[] | ||
value | string | String value. |
return | byte[] |
public static FromDateTime ( System.DateTime value ) : long | ||
value | System.DateTime | |
return | long |
public static FromDateTimeOffset ( DateTimeOffset value ) : long | ||
value | DateTimeOffset | |
return | long |
public static ToDateTime ( long value ) : System.DateTime | ||
value | long |
/// |
return | System.DateTime |
public static ToDateTimeOffset ( long value ) : DateTimeOffset | ||
value | long |
/// |
return | DateTimeOffset |