shims
This commit is contained in:
6
libs/base/shims.d.ts
vendored
6
libs/base/shims.d.ts
vendored
@ -10,6 +10,12 @@ declare interface Buffer {
|
||||
//% shim=BufferMethods::getUint8
|
||||
getUint8(off: int32): int32;
|
||||
|
||||
/**
|
||||
* Returns false when the buffer can be written to.
|
||||
*/
|
||||
//% shim=BufferMethods::isReadOnly
|
||||
isReadOnly(): boolean;
|
||||
|
||||
/**
|
||||
* Writes an unsigned byte at a particular location
|
||||
*/
|
||||
|
Reference in New Issue
Block a user