Interface IMsgPackWriter
General Msgpack interface that will be used for sending RPC to the server.
Assembly: cs.temp.dll.dll
Declaration
Properties
Encoding
Declaration
Methods
Append(byte[])
Declaration
Parameters
Type | Name |
---|---|
System.Byte[] | bytes |
GetBuffer(out ArraySegment<byte>)
Declaration
Returns
System.Boolean
Parameters
Type | Name |
---|---|
Odin.ArraySegment<System.Byte> | buffer |
Clear()
Declaration
GetBytes()
Declaration
Returns
System.Byte[]
GetLength()
Declaration
Returns
System.Int64
Write(int)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Int32 | value |
Write(uint)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.UInt32 | value |
WriteArrayHeader(uint)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.UInt32 | count |
WriteBinary(byte[])
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Byte[] | value |
WriteBool(bool)
Declaration
Parameters
Type | Name |
---|---|
System.Boolean | value |
WriteByte(byte)
Declaration
Parameters
Type | Name |
---|---|
System.Byte | value |
WriteDouble(double)
Declaration
Parameters
Type | Name |
---|---|
System.Double | value |
WriteFloat(float)
Declaration
Parameters
Type | Name |
---|---|
System.Single | value |
WriteInt(int)
Declaration
Parameters
Type | Name |
---|---|
System.Int32 | value |
WriteLong(long)
Declaration
Parameters
Type | Name |
---|---|
System.Int64 | value |
WriteMapHeader(uint)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.UInt32 | count |
WriteSByte(sbyte)
Declaration
Parameters
Type | Name |
---|---|
System.SByte | value |
WriteShort(short)
Declaration
Parameters
Type | Name |
---|---|
System.Int16 | value |
WriteString(string)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.String | value |
WriteString(string, Encoding)
Declaration
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.String | value |
Odin.Encoding | encoding |
WriteUInt(uint)
Declaration
Parameters
Type | Name |
---|---|
System.UInt32 | value |
WriteULong(ulong)
Declaration
Parameters
Type | Name |
---|---|
System.UInt64 | value |
WriteUShort(ushort)
Declaration
Parameters
Type | Name |
---|---|
System.UInt16 | value |