Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decodeChecked (0.06 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

              }
            }
          }
        },
        DECODE_CHECKED {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            try {
              encoding.decodeChecked(cannotDecode);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

       *
       * @throws IllegalArgumentException if the input is not a valid encoded string according to this
       *     encoding.
       */
      public final byte[] decode(CharSequence chars) {
        try {
          return decodeChecked(chars);
        } catch (DecodingException badInput) {
          throw new IllegalArgumentException(badInput);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
Back to top