Module tdlight.api

Class TdApi.Deserializer

java.lang.Object
it.tdlight.jni.TdApi.Deserializer
Enclosing class:
TdApi

public static class TdApi.Deserializer extends Object
This class deserializes TDLib classes
  • Constructor Details

    • Deserializer

      public Deserializer()
      The default constructor
  • Method Details

    • deserialize

      public static TdApi.Object deserialize(DataInput input) throws IOException
      Deserialize the TDLib class
      Parameters:
      input - stream that contain the serialized TDLib class to deserialize
      Returns:
      the deserialized TDLib class
      Throws:
      IOException - the deserialization failed