本文整理匯總了C#中Qyoto.QDataStream類的典型用法代碼示例。如果您正苦於以下問題:C# QDataStream類的具體用法?C# QDataStream怎麽用?C# QDataStream使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
QDataStream類屬於Qyoto命名空間,在下文中一共展示了QDataStream類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: SaveAppArgs
/// <remarks>
/// Save all but the Qt and KDE arguments to a stream.
/// </remarks> <short> </short>
public static void SaveAppArgs(QDataStream arg1)
{
staticInterceptor.Invoke("saveAppArgs#", "saveAppArgs(QDataStream&)", typeof(void), typeof(QDataStream), arg1);
}
示例2: Write
public static QDataStream Write(QDataStream stream, QPolygonF array)
{
return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPolygonF&)", typeof(QDataStream), typeof(QDataStream), stream, typeof(QPolygonF), array);
}
示例3: Read
public static QDataStream Read(QDataStream s, QVariant p)
{
return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QVariant&)", typeof(QDataStream), typeof(QDataStream), s, typeof(QVariant), p);
}
示例4: KServiceGroup
/// <remarks>
/// The stream must already be positionned at the correct offset
/// </remarks> <short> </short>
public KServiceGroup(QDataStream _str, int offset, bool deep)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("KServiceGroup#$$", "KServiceGroup(QDataStream&, int, bool)", typeof(void), typeof(QDataStream), _str, typeof(int), offset, typeof(bool), deep);
}
示例5: KServiceType
/// <remarks>
/// The stream must already be positionned at the correct offset
/// </remarks> <short> </short>
public KServiceType(QDataStream _str, int offset)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("KServiceType#$", "KServiceType(QDataStream&, int)", typeof(void), typeof(QDataStream), _str, typeof(int), offset);
}
示例6: SaveState
public virtual void SaveState(QDataStream stream)
{
interceptor.Invoke("saveState#", "saveState(QDataStream&)", typeof(void), typeof(QDataStream), stream);
}