Ejemplo n.º 1
0
    /// <summary>
    /// 写入字节流(完整版)
    /// </summary>
    protected override void toWriteBytesFull(BytesWriteStream stream)
    {
        stream.startWriteObj();

        stream.writeInt(this.rank);

        stream.writeDouble(this.value);

        stream.endWriteObj();
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 写入字节流(简版)
    /// </summary>
    protected override void toWriteBytesSimple(BytesWriteStream stream)
    {
        stream.writeInt(this.rank);

        stream.writeDouble(this.value);
    }