예제 #1
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeByteArray(this.nonce, stream);
     StreamingUtils.writeByteArray(this.serverNonce, stream);
     StreamingUtils.writeTLBytes(this.encrypted, stream);
 }
예제 #2
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.deserializeBody(stream, context);
     this.id = StreamingUtils.readInt(stream);
     this.flags = StreamingUtils.readInt(stream);
 }
예제 #3
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.geo = StreamingUtils.readTLObject(stream, context);
 }
예제 #4
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.length = StreamingUtils.readInt(stream);
 }
예제 #5
0
파일: TLTextPlain.cs 프로젝트: hnjm/tgsharp
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.text = StreamingUtils.readTLString(stream);
 }
예제 #6
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.phoneNumber   = StreamingUtils.readTLString(stream);
     this.phoneCodeHash = StreamingUtils.readTLString(stream);
     this.phoneCode     = StreamingUtils.readTLString(stream);
 }
예제 #7
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.userId    = StreamingUtils.readInt(stream);
     this.inviterId = StreamingUtils.readInt(stream);
     this.date      = StreamingUtils.readInt(stream);
 }
예제 #8
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(this.users, stream);
 }
예제 #9
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.currentPasswordHash = StreamingUtils.readTLBytes(stream, context);
     this.newSettings         = StreamingUtils.readTLObject(stream, context);
 }
예제 #10
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.document, stream);
     StreamingUtils.writeTLString(this.caption, stream);
 }
예제 #11
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.users = StreamingUtils.readTLVector(stream, context);
 }
예제 #12
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.document = StreamingUtils.readTLObject(stream, context);
     this.caption  = StreamingUtils.readTLString(stream);
 }
예제 #13
0
파일: TLBlocked.cs 프로젝트: hnjm/tgsharp
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLVector(base.blocked, stream);
     StreamingUtils.writeTLVector(base.users, stream);
 }
예제 #14
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.label, stream);
     StreamingUtils.writeLong(this.amount, stream);
 }
예제 #15
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.chat = StreamingUtils.readTLObject(stream, context);
     this.date = StreamingUtils.readInt(stream);
 }
예제 #16
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLBytes(this.currentPasswordHash, stream);
     StreamingUtils.writeTLObject(this.newSettings, stream);
 }
예제 #17
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.chat, stream);
     StreamingUtils.writeInt(this.date, stream);
 }
예제 #18
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.id         = StreamingUtils.readLong(stream);
     this.accessHash = StreamingUtils.readLong(stream);
 }
예제 #19
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.phoneNumber, stream);
     StreamingUtils.writeTLString(this.phoneCodeHash, stream);
     StreamingUtils.writeTLString(this.phoneCode, stream);
 }
예제 #20
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.id, stream);
     StreamingUtils.writeLong(this.accessHash, stream);
 }
예제 #21
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.userId, stream);
     StreamingUtils.writeInt(this.inviterId, stream);
     StreamingUtils.writeInt(this.date, stream);
 }
예제 #22
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     base.random = StreamingUtils.readTLBytes(stream, context);
 }
예제 #23
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeInt(this.length, stream);
 }
예제 #24
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLBytes(base.random, stream);
 }
예제 #25
0
파일: TLTextPlain.cs 프로젝트: hnjm/tgsharp
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLString(this.text, stream);
 }
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.exchangeId = StreamingUtils.readLong(stream);
 }
예제 #27
0
 public override void serializeBody(OutputStream stream)
 {
     base.serializeBody(stream);
     StreamingUtils.writeInt(this.id, stream);
     StreamingUtils.writeInt(this.flags, stream);
 }
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeLong(this.exchangeId, stream);
 }
예제 #29
0
 public override void serializeBody(OutputStream stream)
 {
     StreamingUtils.writeTLObject(this.geo, stream);
 }
예제 #30
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.nonce       = StreamingUtils.readBytes(0x10, stream);
     this.serverNonce = StreamingUtils.readBytes(0x10, stream);
     this.encrypted   = StreamingUtils.readTLBytes(stream);
 }