### Question:
Base64Util { public static String decode(byte[] bytes) { byte[] decodeBase64 = Base64.decodeBase64(bytes); String result = new String(decodeBase64); String endChars; if (result.endsWith((endChars = CR_LF_UNIX)) || result.endsWith((endChars = CR_LF_WIN))) { result = result.substring(0, result.length() - endChars.length()); } return result; }  static String encode(byte[] bytes, boolean isChunked); static String decode(byte[] bytes);  }### Answer:
@Test public void testDecode() { Assert.assertEquals("", Base64Util.decode(new byte[0])); Assert.assertEquals("", Base64Util.decode(new byte[]{0, 10})); Assert.assertEquals("", Base64Util.decode(new byte[]{1, 2, 13, 10})); }