C# Class MsgPack.MessagePackString

Mostra file Open project: msgpack/msgpack-cli Class Usage Examples

Private Properties

Property Type Description
DecodeIfNeeded void
EncodeIfNeeded void
EqualsEncoded bool
MessagePackString System
SlowEquals bool
UnsafeFastEquals bool

Public Methods

Method Description
Equals ( object obj ) : bool
GetBytes ( ) : byte[]
GetHashCode ( ) : int
GetString ( ) : string
GetUnderlyingType ( ) : Type
MessagePackString ( byte encoded, bool isBinary ) : System
MessagePackString ( string decoded ) : System
ToString ( ) : string
TryGetString ( ) : string
UnsafeGetBuffer ( ) : byte[]
UnsafeGetString ( ) : string

Private Methods

Method Description
DecodeIfNeeded ( ) : void
EncodeIfNeeded ( ) : void
EqualsEncoded ( MessagePackString left, MessagePackString right ) : bool
MessagePackString ( MessagePackString other ) : System
SlowEquals ( byte x, byte y ) : bool
UnsafeFastEquals ( byte x, byte y ) : bool

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetString() public method

public GetString ( ) : string
return string

GetUnderlyingType() public method

public GetUnderlyingType ( ) : Type
return System.Type

MessagePackString() public method

public MessagePackString ( byte encoded, bool isBinary ) : System
encoded byte
isBinary bool
return System

MessagePackString() public method

public MessagePackString ( string decoded ) : System
decoded string
return System

ToString() public method

public ToString ( ) : string
return string

TryGetString() public method

public TryGetString ( ) : string
return string

UnsafeGetBuffer() public method

public UnsafeGetBuffer ( ) : byte[]
return byte[]

UnsafeGetString() public method

public UnsafeGetString ( ) : string
return string