[BSON]: Add buffer field to Binary

This commit is contained in:
Michał [Desktop]
2017-11-28 22:16:50 +01:00
parent e9430decb9
commit 2fb3aa3b2f
+3
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 */