Merge pull request #21810 from 19majkel94/bson-buffer

[BSON]: Add buffer field to Binary
This commit is contained in:
Armando Aguirre
2017-11-28 16:38:14 -08:00
committed by GitHub

View File

@@ -39,6 +39,9 @@ export class Binary {
constructor(buffer: Buffer, subType?: number);
/** The underlying Buffer which stores the binary data. */
readonly buffer: Buffer;
/** The length of the binary. */
length(): number;
/** Updates this binary with byte_value */