# Class SessionUtils

java.lang.Object
com.google.adk.sessions.SessionUtils

public final class SessionUtils extends Object
Utility functions for session service.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SessionUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static com.google.genai.types.Content`
  `decodeContent(com.google.genai.types.Content content)`
  Decodes Base64-encoded inline blobs in content.
  `static com.google.genai.types.Content`
  `encodeContent(com.google.genai.types.Content content)`
  Base64-encodes inline blobs in content.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SessionUtils

    public SessionUtils()

- ## Method Details

  - ### encodeContent

    public static com.google.genai.types.Content encodeContent(com.google.genai.types.Content content)
    Base64-encodes inline blobs in content.

  - ### decodeContent

    public static com.google.genai.types.Content decodeContent(com.google.genai.types.Content content)
    Decodes Base64-encoded inline blobs in content.