Class ByteBufferTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<ByteBuffer>
com.mojang.util.ByteBufferTypeAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader in) voidwrite(com.google.gson.stream.JsonWriter out, ByteBuffer value) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
ByteBufferTypeAdapter
public ByteBufferTypeAdapter()
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<ByteBuffer>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<ByteBuffer>- Throws:
IOException
-