本文整理汇总了Java中org.telegram.tgnet.AbstractSerializedData.readBool方法的典型用法代码示例。如果您正苦于以下问题:Java AbstractSerializedData.readBool方法的具体用法?Java AbstractSerializedData.readBool怎么用?Java AbstractSerializedData.readBool使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.telegram.tgnet.AbstractSerializedData
的用法示例。
在下文中一共展示了AbstractSerializedData.readBool方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readParams
import org.telegram.tgnet.AbstractSerializedData; //导入方法依赖的package包/类
public void readParams(AbstractSerializedData stream, boolean exception) {
random_id = stream.readInt64(exception);
date = stream.readInt32(exception);
layer = TLRPC.TL_decryptedMessageLayer.TLdeserialize(stream, stream.readInt32(exception), exception);
if (stream.readBool(exception)) {
file = TLRPC.EncryptedFile.TLdeserialize(stream, stream.readInt32(exception), exception);
}
new_key_used = stream.readBool(exception);
}
示例2: readParams
import org.telegram.tgnet.AbstractSerializedData; //导入方法依赖的package包/类
public void readParams(AbstractSerializedData stream, boolean exception) {
stream.readInt64(exception);
date = stream.readInt32(exception);
layer = TLRPC.TL_decryptedMessageLayer.TLdeserialize(stream, stream.readInt32(exception), exception);
if (stream.readBool(exception)) {
file = TLRPC.EncryptedFile.TLdeserialize(stream, stream.readInt32(exception), exception);
}
new_key_used = stream.readBool(exception);
}