public class TLInputFile extends TLAbsInputFile
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
id, name, parts
Constructor and Description |
---|
TLInputFile()
Instantiates a new TL input file.
|
Modifier and Type | Method and Description |
---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
String |
getMd5Checksum()
Gets md 5 checksum.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMd5Checksum(String md5Checksum)
Sets md 5 checksum.
|
String |
toString()
Custom toString method
|
getId, getName, getParts, setId, setName, setParts
deserialize, serialize, serialize
public static final int CLASS_ID
public int getClassId()
TLObject
getClassId
in class TLObject
public String getMd5Checksum()
public void setMd5Checksum(String md5Checksum)
md5Checksum
- the md 5 checksumpublic void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2017. All rights reserved.