We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1cab9 commit 8afdedfCopy full SHA for 8afdedf
utilcode/src/test/java/com/blankj/utilcode/util/EncodeUtilsTest.java
@@ -70,4 +70,10 @@ public void htmlEncode_htmlDecode() {
70
71
assertEquals(html, EncodeUtils.htmlDecode(encodeHtml).toString());
72
}
73
+ @Test
74
+ public void binEncode_binDecode(){
75
+ String test = "test";
76
+ String binary = EncodeUtils.binEncode(test);
77
+ assertEquals("test", EncodeUtils.binDecode(binary));
78
+ }
79
0 commit comments