forked from find-sec-bugs/find-sec-bugs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stub interface for Apache Commons Codec Hex find-sec-bugs#291
- Loading branch information
Showing
2 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
47 changes: 44 additions & 3 deletions
47
plugin-deps/src/main/java/org/apache/commons/codec/binary/Hex.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,48 @@ | ||
package org.apache.commons.codec.binary; | ||
|
||
/** | ||
* Created by parteau on 8/7/2017. | ||
*/ | ||
import java.nio.ByteBuffer; | ||
|
||
public class Hex { | ||
|
||
public static char[] encodeHex(final byte[] data) { | ||
return null; | ||
} | ||
|
||
public static char[] encodeHex(final ByteBuffer data) { | ||
return null; | ||
} | ||
|
||
public static char[] encodeHex(final byte[] data, final boolean toLowerCase) { | ||
return null; | ||
} | ||
|
||
public static char[] encodeHex(final ByteBuffer data, final boolean toLowerCase) { | ||
return null; | ||
} | ||
|
||
public static String encodeHexString(final byte[] data) { | ||
return null; | ||
} | ||
|
||
public static String encodeHexString(final byte[] data, boolean toLowerCase) { | ||
return null; | ||
} | ||
|
||
public static String encodeHexString(final ByteBuffer data) { | ||
return null; | ||
} | ||
|
||
public static String encodeHexString(final ByteBuffer data, boolean toLowerCase) { | ||
return null; | ||
} | ||
|
||
public byte[] encode(final byte[] array) { | ||
return null; | ||
} | ||
|
||
public byte[] encode(final ByteBuffer array) { | ||
return null; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters