程序包 com.easemob.im

类 JSON.ByteArrayAdapter

java.lang.Object
com.google.gson.TypeAdapter<byte[]>
com.easemob.im.JSON.ByteArrayAdapter
封闭类:
JSON

public static class JSON.ByteArrayAdapter extends com.google.gson.TypeAdapter<byte[]>
Gson TypeAdapter for Byte Array type
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    byte[]
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, byte[] value)
     

    从类继承的方法 com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • ByteArrayAdapter

      public ByteArrayAdapter()
  • 方法详细资料

    • write

      public void write(com.google.gson.stream.JsonWriter out, byte[] value) throws IOException
      指定者:
      write 在类中 com.google.gson.TypeAdapter<byte[]>
      抛出:
      IOException
    • read

      public byte[] read(com.google.gson.stream.JsonReader in) throws IOException
      指定者:
      read 在类中 com.google.gson.TypeAdapter<byte[]>
      抛出:
      IOException