예제 #1
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.permAuthKeyId    = StreamingUtils.readLong(stream);
     this.nonce            = StreamingUtils.readLong(stream);
     this.expiresAt        = StreamingUtils.readInt(stream);
     this.encryptedMessage = StreamingUtils.readTLBytes(stream, context);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.fileId         = StreamingUtils.readLong(stream);
     this.filePart       = StreamingUtils.readInt(stream);
     this.fileTotalParts = StreamingUtils.readInt(stream);
     this.bytes          = StreamingUtils.readTLBytes(stream, context);
 }
예제 #3
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.randomId = StreamingUtils.readLong(stream);
     base.chatId   = StreamingUtils.readInt(stream);
     base.date     = StreamingUtils.readInt(stream);
     base.bytes    = StreamingUtils.readTLBytes(stream, context);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.peer     = StreamingUtils.readTLObject(stream, context);
     this.randomId = StreamingUtils.readLong(stream);
     this.data     = StreamingUtils.readTLBytes(stream, context);
     this.file     = StreamingUtils.readTLObject(stream, context);
 }
예제 #5
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.nonce       = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce = StreamingUtils.readBytes(0x10, stream);
     this.retryId     = StreamingUtils.readLong(stream);
     this.gb          = StreamingUtils.readTLBytes(stream);
 }
예제 #6
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.g       = StreamingUtils.readInt(stream);
     base.p       = StreamingUtils.readTLBytes(stream, context);
     base.version = StreamingUtils.readInt(stream);
     base.random  = StreamingUtils.readTLBytes(stream, context);
 }
예제 #7
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.dcId          = StreamingUtils.readInt(stream);
     this.fileToken     = StreamingUtils.readTLBytes(stream, context);
     this.encryptionKey = StreamingUtils.readTLBytes(stream, context);
     this.encryptionIv  = StreamingUtils.readTLBytes(stream, context);
 }
예제 #8
0
파일: ResPQ.cs 프로젝트: hnjm/tgsharp
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.nonce        = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce  = StreamingUtils.readBytes(0x10, stream);
     this.pq           = StreamingUtils.readTLBytes(stream);
     this.fingerprints = StreamingUtils.readTLLongVector(stream, context);
 }
예제 #9
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.type     = StreamingUtils.readTLString(stream);
     this.location = StreamingUtils.readTLObject(stream, context);
     this.w        = StreamingUtils.readInt(stream);
     this.h        = StreamingUtils.readInt(stream);
     this.bytes    = StreamingUtils.readTLBytes(stream, context);
 }
예제 #10
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.currentSalt             = StreamingUtils.readTLBytes(stream, context);
     base.newSalt                 = StreamingUtils.readTLBytes(stream, context);
     this.hint                    = StreamingUtils.readTLString(stream);
     this.hasRecovery             = StreamingUtils.readTLBool(stream);
     base.emailUnconfirmedPattern = StreamingUtils.readTLString(stream);
 }
예제 #11
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.randomBytes = StreamingUtils.readTLBytes(stream, context);
     this.layer       = StreamingUtils.readInt(stream);
     this.inSeqNo     = StreamingUtils.readInt(stream);
     this.outSeqNo    = StreamingUtils.readInt(stream);
     this.message     = StreamingUtils.readTLObject(stream, context);
 }
예제 #12
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.duration = StreamingUtils.readInt(stream);
     this.mimeType = StreamingUtils.readTLString(stream);
     this.size     = StreamingUtils.readInt(stream);
     this.key      = StreamingUtils.readTLBytes(stream, context);
     this.iv       = StreamingUtils.readTLBytes(stream, context);
 }
예제 #13
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id      = StreamingUtils.readLong(stream);
     this.ip      = StreamingUtils.readTLString(stream);
     this.ipv6    = StreamingUtils.readTLString(stream);
     this.port    = StreamingUtils.readInt(stream);
     this.peerTag = StreamingUtils.readTLBytes(stream, context);
 }
예제 #14
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.pq          = StreamingUtils.readTLBytes(stream);
     this.p           = StreamingUtils.readTLBytes(stream);
     this.q           = StreamingUtils.readTLBytes(stream);
     this.nonce       = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce = StreamingUtils.readBytes(0x10, stream);
     this.newNonce    = StreamingUtils.readBytes(0x20, stream);
 }
예제 #15
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.nonce       = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce = StreamingUtils.readBytes(0x10, stream);
     this.g           = StreamingUtils.readInt(stream);
     this.dhPrime     = StreamingUtils.readTLBytes(stream);
     this.g_a         = StreamingUtils.readTLBytes(stream);
     this.serverTime  = StreamingUtils.readInt(stream);
 }
예제 #16
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.id            = StreamingUtils.readInt(stream);
     this.accessHash    = StreamingUtils.readLong(stream);
     this.date          = StreamingUtils.readInt(stream);
     this.adminId       = StreamingUtils.readInt(stream);
     this.participantId = StreamingUtils.readInt(stream);
     this.gA            = StreamingUtils.readTLBytes(stream, context);
 }
예제 #17
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.nonce         = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce   = StreamingUtils.readBytes(0x10, stream);
     this.p             = StreamingUtils.readTLBytes(stream);
     this.q             = StreamingUtils.readTLBytes(stream);
     this.fingerPrint   = StreamingUtils.readLong(stream);
     this.encryptedData = StreamingUtils.readTLBytes(stream);
 }
예제 #18
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.thumb  = StreamingUtils.readTLBytes(stream, context);
     this.thumbW = StreamingUtils.readInt(stream);
     this.thumbH = StreamingUtils.readInt(stream);
     this.w      = StreamingUtils.readInt(stream);
     this.h      = StreamingUtils.readInt(stream);
     this.size   = StreamingUtils.readInt(stream);
     this.key    = StreamingUtils.readTLBytes(stream, context);
     this.iv     = StreamingUtils.readTLBytes(stream, context);
 }
예제 #19
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags = StreamingUtils.readInt(stream);
     if ((this.flags & 1) != 0)
     {
         this.newSalt         = StreamingUtils.readTLBytes(stream, context);
         this.newPasswordHash = StreamingUtils.readTLBytes(stream, context);
         this.hint            = StreamingUtils.readTLString(stream);
     }
     if ((this.flags & 2) != 0)
     {
         this.email = StreamingUtils.readTLString(stream);
     }
 }
예제 #20
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags        = StreamingUtils.readInt(stream);
     this.queryId      = StreamingUtils.readLong(stream);
     this.userId       = StreamingUtils.readInt(stream);
     this.msgId        = StreamingUtils.readTLObject(stream, context);
     this.chatInstance = StreamingUtils.readInt(stream);
     if ((this.flags & 1) != 0)
     {
         this.data = StreamingUtils.readTLBytes(stream, context);
     }
     if ((this.flags & 2) != 0)
     {
         this.gameShortName = StreamingUtils.readTLString(stream);
     }
 }
예제 #21
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.flags    = StreamingUtils.readInt(stream);
     this.duration = StreamingUtils.readInt(stream);
     if ((this.flags & 1) != 0)
     {
         this.title = StreamingUtils.readTLString(stream);
     }
     if ((this.flags & 2) != 0)
     {
         this.performer = StreamingUtils.readTLString(stream);
     }
     if ((this.flags & 4) != 0)
     {
         this.waveform = StreamingUtils.readTLBytes(stream, context);
     }
 }
예제 #22
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.requestToken = StreamingUtils.readTLBytes(stream, context);
 }
예제 #23
0
파일: ServerDhOk.cs 프로젝트: hnjm/tgsharp
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.nonce           = StreamingUtils.readBytes(0x10, stream);
     base.serverNonce     = StreamingUtils.readBytes(0x10, stream);
     base.encryptedAnswer = StreamingUtils.readTLBytes(stream);
 }
예제 #24
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.passwordHash = StreamingUtils.readTLBytes(stream, context);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.exchangeId     = StreamingUtils.readLong(stream);
     this.g_a            = StreamingUtils.readTLBytes(stream, context);
     this.KeyFingerprint = StreamingUtils.readLong(stream);
 }
예제 #26
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id          = StreamingUtils.readTLString(stream);
     this.tmpPassword = StreamingUtils.readTLBytes(stream, context);
 }
예제 #27
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.currentPasswordHash = StreamingUtils.readTLBytes(stream, context);
     this.newSettings         = StreamingUtils.readTLObject(stream, context);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.peer           = StreamingUtils.readTLObject(stream, context);
     this.gB             = StreamingUtils.readTLBytes(stream, context);
     this.keyFingerprint = StreamingUtils.readLong(stream);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.userId   = StreamingUtils.readTLObject(stream, context);
     this.randomId = StreamingUtils.readInt(stream);
     this.gA       = StreamingUtils.readTLBytes(stream, context);
 }
예제 #30
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id    = StreamingUtils.readInt(stream);
     this.bytes = StreamingUtils.readTLBytes(stream, context);
 }