本文整理汇总了C++中OutStream::out_uint32_le方法的典型用法代码示例。如果您正苦于以下问题:C++ OutStream::out_uint32_le方法的具体用法?C++ OutStream::out_uint32_le怎么用?C++ OutStream::out_uint32_le使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OutStream
的用法示例。
在下文中一共展示了OutStream::out_uint32_le方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: 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);
}
示例2: 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);
}
示例3: kbd_input
bool kbd_input(const timeval & now, uint32_t uchar) override {
(void)now;
if (keyboard_buffer_32.has_room(sizeof(uint32_t))) {
keyboard_buffer_32.out_uint32_le(uchar);
}
return true;
}
示例4: emit
void emit(OutStream & stream)override {
stream.out_uint16_le(this->capabilityType);
stream.out_uint16_le(this->len);
stream.out_uint32_le(this->pad1);
stream.out_uint32_le(this->pad2);
stream.out_uint32_le(this->pad3);
stream.out_uint32_le(this->pad4);
stream.out_uint32_le(this->pad5);
stream.out_uint32_le(this->pad6);
stream.out_uint16_le(this->cache0Entries);
stream.out_uint16_le(this->cache0MaximumCellSize);
stream.out_uint16_le(this->cache1Entries);
stream.out_uint16_le(this->cache1MaximumCellSize);
stream.out_uint16_le(this->cache2Entries);
stream.out_uint16_le(this->cache2MaximumCellSize);
}
示例5: 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);
}
示例6: 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);
}
示例7: 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);
}
}
示例8: 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);
}
示例9: emit
void emit(OutStream & stream) {
stream.out_uint16_le(this->numEntriesCache[0]);
stream.out_uint16_le(this->numEntriesCache[1]);
stream.out_uint16_le(this->numEntriesCache[2]);
stream.out_uint16_le(this->numEntriesCache[3]);
stream.out_uint16_le(this->numEntriesCache[4]);
stream.out_uint16_le(this->totalEntriesCache[0]);
stream.out_uint16_le(this->totalEntriesCache[1]);
stream.out_uint16_le(this->totalEntriesCache[2]);
stream.out_uint16_le(this->totalEntriesCache[3]);
stream.out_uint16_le(this->totalEntriesCache[4]);
stream.out_uint8(this->bBitMask);
stream.out_clear_bytes(3); // Pad2(1) + Pad3(2)
for (uint32_t i = 0, c = this->maximum_entries(); i < c; i++) {
stream.out_uint32_le(this->entries[i].Key1);
stream.out_uint32_le(this->entries[i].Key2);
}
}
示例10: emit
void emit(OutStream & stream)override {
stream.out_uint16_le(this->capabilityType);
stream.out_uint16_le(this->len);
stream.out_uint32_le(this->brushSupportLevel);
}
示例11:
InputEvent_Send(OutStream & stream, uint32_t eventTime, uint16_t messageType) {
stream.out_uint32_le(eventTime);
stream.out_uint16_le(messageType);
}
示例12: emit
void emit(OutStream & stream) const {
uint8_t controlFlags = SECONDARY | (AltsecDrawingOrderHeader::FrameMarker << 2);
stream.out_uint8(controlFlags);
stream.out_uint32_le(this->action);
}
示例13: emit
void emit(OutStream & stream) const
{
stream.out_uint16_le(this->capabilityType);
stream.out_uint16_le(this->len);
stream.out_uint32_le(this->MaxRequestSize);
}
示例14: emit
void emit(OutStream & stream) const
{
stream.out_uint16_le(this->userDataType);
stream.out_uint16_le(this->length);
stream.out_uint32_le(this->flags);
}