/// <summary> /// 获取数据比特流 /// </summary> /// <returns></returns> public virtual void WriteMSG() { // SendBuf buf = BufferManager.getSendBuffer(opcode, true).writeUshort(cmd).writeBytes(bytes_strm).last(); SendBuffer.writeShort(opcode); //"WO" SendBuffer.writeInt(msgSize); //uint SendBuffer.writeShort(cmd); // SendBuffer.sendbufIndex = 6; }