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

            stream.writeLong(this.timeSeconds);

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