mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Fixed JSDoc comment
This commit is contained in:
parent
4acf7b4e4f
commit
42b956e402
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ import Utils from "../Utils";
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* // returns "00010000 00100000 00110000"
|
* // returns "00010000 00100000 00110000"
|
||||||
* toHex([10,20,30]);
|
* toBinary([10,20,30]);
|
||||||
*
|
*
|
||||||
* // returns "00010000 00100000 00110000"
|
* // returns "00010000 00100000 00110000"
|
||||||
* toHex([10,20,30], ":");
|
* toBinary([10,20,30], ":");
|
||||||
*/
|
*/
|
||||||
export function toBinary(data, delim="Space", padding=8) {
|
export function toBinary(data, delim="Space", padding=8) {
|
||||||
if (!data) return "";
|
if (!data) return "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue