Class ByteArraySerializer

java.lang.Object
com.microsoft.graph.serializer.ByteArraySerializer

public final class ByteArraySerializer extends Object
Serializer for byte[]s
  • Method Details

    • deserialize

      @Nullable public static byte[] deserialize(@Nonnull String strVal) throws ParseException
      Deserializes a string
      Parameters:
      strVal - the value to deserialize
      Returns:
      the string encoded bytes
      Throws:
      ParseException - if there is any problem processing the value
    • serialize

      @Nullable public static String serialize(@Nonnull byte[] src)
      Serializes the string
      Parameters:
      src - the source array
      Returns:
      the string