StaticconcatStaticdebugStaticdelayA delay promise
time to wait im ms
void
StaticparseParses an Android-formatted mincrypt public key (e.g. ~/.android/adbkey.pub).
The key String or [Buffer][node-buffer] to parse. Not a filename.
The key as a forge.pki public key. You may need node-forge for complicated operations.
StaticreadTakes a [Stream][node-stream] and reads everything it outputs until the stream ends. Then it resolves with the collected output. Convenient with client.shell().
The [Stream][node-stream] to read.
All the output as a [Buffer][node-buffer]. Use output.toString('utf-8') to get a readable string from it.
StaticwaitforPromise waiter for a Duplex to be readable
Optionalduplex: Duplex | Readable | PromiseDuplex<Duplex> | PromiseReadable<Readable>
a vanilla Duplex of a PromiseDuplex
do not wait more than timeout
is the true is duplex is readable
StaticwaitforWait for a spesific text in the Duplex all text will be concatened in a single string to dean with segments.
regexp to match
matched text
Concatenate an array of Buffers into a single Buffer.