当前位置: 首页>>代码示例>>C++>>正文


C++ OutStream::out_uint16_le方法代码示例

本文整理汇总了C++中OutStream::out_uint16_le方法的典型用法代码示例。如果您正苦于以下问题:C++ OutStream::out_uint16_le方法的具体用法?C++ OutStream::out_uint16_le怎么用?C++ OutStream::out_uint16_le使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OutStream的用法示例。


在下文中一共展示了OutStream::out_uint16_le方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: emit

 void emit(OutStream & stream) override {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint32_le(this->drawNineGridSupportLevel);
     stream.out_uint16_le(this->drawNineGridCacheSize);
     stream.out_uint16_le(this->drawNineGridCacheEntries);
 }
开发者ID:,项目名称:,代码行数:7,代码来源:

示例2: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->userDataType);
     stream.out_uint16_le(this->length);
     stream.out_uint32_le(this->encryptionMethods);
     stream.out_uint32_le(this->extEncryptionMethods);
 }
开发者ID:wallix,项目名称:redemption,代码行数:7,代码来源:cs_security.hpp

示例3: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint16_le(this->flags);
     stream.out_uint16_le(this->VCChunkSize);
 }
开发者ID:pykoder,项目名称:redemption,代码行数:7,代码来源:virchan.hpp

示例4: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint32_le(this->cmdFlags);
     stream.out_uint32_le(this->reserved);
 }
开发者ID:pykoder,项目名称:redemption,代码行数:7,代码来源:surfacecommands.hpp

示例5: emit

    void emit(OutStream & stream)override {
        stream.out_uint16_le(this->capabilityType);
        stream.out_uint16_le(this->len);
        stream.out_uint16_le(this->fontSupportFlags);
        stream.out_uint16_le(this->pad2octets);

    }
开发者ID:gvsurenderreddy,项目名称:redemption,代码行数:7,代码来源:cap_font.hpp

示例6: emit

  void emit(OutStream & stream) const
  {
      stream.out_uint16_le(this->capabilityType);
      stream.out_uint16_le(this->len);
      stream.out_uint16_le(this->colorTableCacheSize);
      stream.out_uint16_le(this->pad2octets);
 }
开发者ID:pykoder,项目名称:redemption,代码行数:7,代码来源:colcache.hpp

示例7: emit

    void emit(OutStream & stream) const
    {
        stream.out_uint16_le(this->capabilityType);
        stream.out_uint16_le(this->len);
        stream.out_uint16_le(this->nodeId);
        stream.out_uint16_le(this->pad2octets);

    }
开发者ID:wallix,项目名称:redemption,代码行数:8,代码来源:cap_share.hpp

示例8: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint8(this->cacheVersion);
     stream.out_uint8(this->pad1);
     stream.out_uint16_le(this->pad2);
 }
开发者ID:wallix,项目名称:redemption,代码行数:8,代码来源:bitmapcachehostsupport.hpp

示例9: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint32_le(this->WndSupportLevel);
     stream.out_uint8(this->NumIconCaches);
     stream.out_uint16_le(this->NumIconCacheEntries);
 }
开发者ID:pykoder,项目名称:redemption,代码行数:8,代码来源:window.hpp

示例10:

 FlowPDU_Send(OutStream & stream, uint8_t flow_pdu_type, uint8_t flow_identifier,
              uint8_t flow_number, uint16_t pdu_source)
 {
     stream.out_uint16_le(0x8000);
     stream.out_uint8(flow_pdu_type);
     stream.out_uint8(0);
     stream.out_uint8(flow_identifier);
     stream.out_uint8(flow_number);
     stream.out_uint16_le(pdu_source);
 }
开发者ID:,项目名称:,代码行数:10,代码来源:

示例11: emit

    void emit(OutStream & stream) const {
        stream.out_uint8(this->allowDisplayUpdates_);
        stream.out_clear_bytes(3);  // Padding(3)

        if (ALLOW_DISPLAY_UPDATES == this->allowDisplayUpdates_) {
            stream.out_uint16_le(this->left_);
            stream.out_uint16_le(this->top_);
            stream.out_uint16_le(this->right_);
            stream.out_uint16_le(this->bottom_);
        }
    }   // void emit(OutStream & stream) const
开发者ID:pykoder,项目名称:redemption,代码行数:11,代码来源:SuppressOutputPDU.hpp

示例12: emit

 void emit(OutStream & stream)override {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     stream.out_uint16_le(this->cacheFlags);
     stream.out_uint8(this->pad1);
     stream.out_uint8(this->numCellCaches);
     stream.out_uint32_le(this->bitmapCache0CellInfo);
     stream.out_uint32_le(this->bitmapCache1CellInfo);
     stream.out_uint32_le(this->bitmapCache2CellInfo);
     stream.out_uint32_le(this->bitmapCache3CellInfo);
     stream.out_uint32_le(this->bitmapCache4CellInfo);
     stream.out_clear_bytes(12);
 }
开发者ID:gvsurenderreddy,项目名称:redemption,代码行数:13,代码来源:bmpcache2.hpp

示例13: emit

    void emit(OutStream & stream) const
    {
        if (this->length != 8
        && this->length != 12
        && this->length != 16) {
            LOG(LOG_ERR, "SC_CORE invalid length (%u)", this->length);
            throw Error(ERR_GCC);
        };

        stream.out_uint16_le(this->userDataType);
        stream.out_uint16_le(this->length);
        stream.out_uint32_le(this->version);

        if (this->length >= 12){
            stream.out_uint32_le(this->clientRequestedProtocols);
        }
        if (this->length >= 16){
            stream.out_uint32_le(this->earlyCapabilityFlags);
        }
    }
开发者ID:pykoder,项目名称:redemption,代码行数:20,代码来源:sc_core.hpp

示例14: emit

    void emit(OutStream & stream,
            RDPOrderCommon & common,
            const RDPOrderCommon & oldcommon,
            const RDPLineTo & oldcmd) const
    {
        using namespace RDP;
        RDPPrimaryOrderHeader header(STANDARD, 0);

        // TODO check that
        if (!(common.clip.contains_pt(this->startx, this->starty)
           && common.clip.contains_pt(this->endx, this->endy))){
           header.control |= BOUNDS;
        }

        header.control |= (is_1_byte(this->startx - oldcmd.startx)
                 && is_1_byte(this->starty - oldcmd.starty)
                 && is_1_byte(this->endx - oldcmd.endx)
                 && is_1_byte(this->endy - oldcmd.endy)) * DELTA;

        header.fields =
                (this->back_mode  != oldcmd.back_mode  ) * 0x001
              | (this->startx     != oldcmd.startx     ) * 0x002
              | (this->starty     != oldcmd.starty     ) * 0x004
              | (this->endx       != oldcmd.endx       ) * 0x008
              | (this->endy       != oldcmd.endy       ) * 0x010
              | (this->back_color != oldcmd.back_color ) * 0x020
              | (this->rop2       != oldcmd.rop2       ) * 0x040
              | (this->pen.style  != oldcmd.pen.style  ) * 0x080
              | (this->pen.width  != oldcmd.pen.width  ) * 0x100
              | (this->pen.color  != oldcmd.pen.color  ) * 0x200
              ;

        common.emit(stream, header, oldcommon);

        if (header.fields & 0x001) { stream.out_uint16_le(this->back_mode); }

        header.emit_coord(stream, 0x02, this->startx, oldcmd.startx);
        header.emit_coord(stream, 0x04, this->starty, oldcmd.starty);
        header.emit_coord(stream, 0x08, this->endx,   oldcmd.endx);
        header.emit_coord(stream, 0x10, this->endy,   oldcmd.endy);

        if (header.fields & 0x20) {
            emit_rdp_color(stream, this->back_color);
        }
        if (header.fields & 0x40) { stream.out_uint8(this->rop2); }
        header.emit_pen(stream, 0x80, this->pen, oldcmd.pen);
    }
开发者ID:pykoder,项目名称:redemption,代码行数:47,代码来源:RDPOrdersPrimaryLineTo.hpp

示例15: emit

 void emit(OutStream & stream) const
 {
     stream.out_uint16_le(this->capabilityType);
     stream.out_uint16_le(this->len);
     for (auto const& glyph : this->GlyphCache) {
         stream.out_uint16_le(glyph.CacheEntries);
         stream.out_uint16_le(glyph.CacheMaximumCellSize);
     }
     stream.out_uint32_le(this->FragCache);
     stream.out_uint16_le(this->GlyphSupportLevel);
     stream.out_uint16_le(this->pad2octets);
 }
开发者ID:wallix,项目名称:redemption,代码行数:12,代码来源:cap_glyphcache.hpp


注:本文中的OutStream::out_uint16_le方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。