updated to latest pxt

This commit is contained in:
Peli
2020-01-06 14:19:55 -08:00
parent c306db5478
commit 08ce23df9f
3 changed files with 9 additions and 2 deletions

View File

@@ -950,6 +950,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
*/