updated to latest pxt
This commit is contained in:
parent
c306db5478
commit
08ce23df9f
@ -55,6 +55,7 @@
|
||||
"Buffer.getNumber": "Read a number in specified format from the buffer.",
|
||||
"Buffer.getUint8": "Reads an unsigned byte at a particular location",
|
||||
"Buffer.indexOf": "Return position of other buffer in current buffer",
|
||||
"Buffer.isReadOnly": "Returns false when the buffer can be written to.",
|
||||
"Buffer.length": "Returns the length of a Buffer object.",
|
||||
"Buffer.rotate": "Rotate buffer left in place.\n\n\n\nstart. eg: -1",
|
||||
"Buffer.rotate|param|length": "number of elements in buffer. If negative, length is set as the buffer length minus",
|
||||
|
6
libs/core/shims.d.ts
vendored
6
libs/core/shims.d.ts
vendored
@ -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
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@
|
||||
"typescript": "2.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-common-packages": "6.17.1",
|
||||
"pxt-core": "5.31.2"
|
||||
"pxt-common-packages": "6.18.2",
|
||||
"pxt-core": "5.31.8"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user