This commit is contained in:
Peli committed 2020-01-19 21:38:01 -08:00
1 parent e8468ab62c
commit e65b16474e
2 files changed
+13

No files matched your search

+6
View File
@@ -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
*/