Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDecodesByBytes (0.06 seconds)

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

        testEncodesWithOffset(base64(), "foobar", 3, 1, "Yg==");
        testEncodesWithOffset(base64(), "foobar", 4, 0, "");
      }
    
      public void testBase64Url() {
        testDecodesByBytes(base64Url(), "_zzz", new byte[] {-1, 60, -13});
        testDecodesByBytes(base64Url(), "-zzz", new byte[] {-5, 60, -13});
      }
    
      public void testBase64UrlInvalidDecodings() {
        assertFailsToDecode(base64Url(), "+zzz", "Unrecognized character: +");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top