mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 22:21:01 +01:00
Fixed JSDoc comment
This commit is contained in:
parent
4acf7b4e4f
commit
42b956e402
@ -19,10 +19,10 @@ import Utils from "../Utils";
|
||||
*
|
||||
* @example
|
||||
* // returns "00010000 00100000 00110000"
|
||||
* toHex([10,20,30]);
|
||||
* toBinary([10,20,30]);
|
||||
*
|
||||
* // returns "00010000 00100000 00110000"
|
||||
* toHex([10,20,30], ":");
|
||||
* toBinary([10,20,30], ":");
|
||||
*/
|
||||
export function toBinary(data, delim="Space", padding=8) {
|
||||
if (!data) return "";
|
||||
|
Loading…
Reference in New Issue
Block a user