Interface WrappedDecoder

All Superinterfaces:
AutoCloseable, Decoder

@Internal public interface WrappedDecoder extends Decoder
Decoder wrapper that exposes the wrapped decoder for backend-specific integrations.
Since:
3.1
Author:
Denis Stepanov
  • Method Details

    • wrappedDecoder

      Decoder wrappedDecoder() throws IOException
      Returns the wrapped decoder.
      Returns:
      The wrapped decoder
      Throws:
      IOException - If an unrecoverable error occurs
    • unwrap

      static Decoder unwrap(Decoder decoder) throws IOException
      Unwrap all nested decoder wrappers.
      Parameters:
      decoder - The decoder
      Returns:
      The unwrapped decoder
      Throws:
      IOException - If an unrecoverable error occurs