mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Add padBytesRight author & displayFilesAsHTML desc
This commit is contained in:
parent
6cc5806486
commit
0eef1d972a
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,8 @@ var Utils = {
|
|||
/**
|
||||
* Adds trailing bytes to a byteArray.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
*
|
||||
* @param {byteArray} arr - byteArray to add trailing bytes to.
|
||||
* @param {number} numBytes - Maximum width of the array.
|
||||
* @param {Integer} [padByte=0] - The byte to pad with.
|
||||
|
@ -959,6 +961,9 @@ var Utils = {
|
|||
|
||||
/**
|
||||
* Formats a list of files or directories.
|
||||
* A File is an object with a "fileName" and optionally a "contents".
|
||||
* If the fileName ends with "/" and the contents is of length 0 then
|
||||
* it is considered a directory.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue