chore: fixed various misspellings and other typos (#8691)

This commit is contained in:
Anh Hong 2020-12-11 02:45:45 +07:00 committed by GitHub
parent fd9b0202c1
commit b8bc24d167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 67 additions and 67 deletions

View file

@ -193,7 +193,7 @@ export function putVarbig(
return sizeof(o.dataType);
}
/** Decodes a number from `r`, comsuming `sizeof(o.dataType)` bytes. If less than `sizeof(o.dataType)` bytes were read, throws `Deno.errors.unexpectedEof`.
/** Decodes a number from `r`, consuming `sizeof(o.dataType)` bytes. If less than `sizeof(o.dataType)` bytes were read, throws `Deno.errors.unexpectedEof`.
*
* `o.dataType` defaults to `"int32"`. */
export async function readVarnum(
@ -205,7 +205,7 @@ export async function readVarnum(
return varnum(scratch, o) as number;
}
/** Decodes a bigint from `r`, comsuming `sizeof(o.dataType)` bytes. If less than `sizeof(o.dataType)` bytes were read, throws `Deno.errors.unexpectedEof`.
/** Decodes a bigint from `r`, consuming `sizeof(o.dataType)` bytes. If less than `sizeof(o.dataType)` bytes were read, throws `Deno.errors.unexpectedEof`.
*
* `o.dataType` defaults to `"int64"`. */
export async function readVarbig(