📄 Fix typos annd add to cspell settings

This commit is contained in:
C-3PO 2018-11-02 00:54:12 +01:00
parent 8779a0cf41
commit 017b5f63eb
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
3 changed files with 19 additions and 1 deletions

View file

@ -2,7 +2,7 @@
* A parser for .torrent files encoded with Bencode <https://en.wikipedia.org/wiki/Bencode>.
*/
/** Takes a Bencoded-encoded file, parses it at the given starting position and returns a JSON object, or rejects on error. */
/** Takes a Bencode-encoded file, parses it at the given starting position and returns a JSON object, or rejects on error. */
function bpParse(buffer: Buffer, posIn: number = 0): { obj: any, pos: number } {
let pos = posIn;
let obj: any;