Class ODataBinaryAdapter
java.lang.Object
com.google.gson.TypeAdapter<byte[]>
com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.ODataBinaryAdapter
public class ODataBinaryAdapter
extends com.google.gson.TypeAdapter<byte[]>
For internal use only by data model classes
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
ODataBinaryAdapter
public ODataBinaryAdapter()
-
-
Method Details
-
write
public void write(@Nonnull com.google.gson.stream.JsonWriter jsonWriter, @Nullable byte[] bytes) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-
read
@Nullable public byte[] read(@Nonnull com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
read
in classcom.google.gson.TypeAdapter<byte[]>
- Throws:
IOException
-