Add padBytesRight author & displayFilesAsHTML desc

This commit is contained in:
toby 2017-02-09 13:22:27 -05:00
parent 6cc5806486
commit 0eef1d972a
1 changed files with 5 additions and 0 deletions

View File

@ -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]
*