public class ReadableStream extends EventEmitter
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
readable |
Modifier | Constructor and Description |
---|---|
protected |
ReadableStream(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static ReadableStream |
$as(Object obj) |
void |
pause() |
<T> T |
pipe(T destination) |
<T> T |
pipe(T destination,
Objs options) |
Union.A2<String,Buffer> |
read() |
Union.A2<String,Buffer> |
read(double size) |
Boolean |
readable() |
void |
resume() |
void |
setEncoding(String encoding) |
<T> void |
unpipe() |
<T> void |
unpipe(T destination) |
void |
unshift(Buffer chunk) |
void |
unshift(String chunk) |
ReadableStream |
wrap(ReadableStream oldStream) |
addListener, emit, getMaxListeners, listenerCount, listeners, on, once, removeAllListeners, removeAllListeners, removeListener, setMaxListeners
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> readable
protected ReadableStream(Objs.Constructor<?> c, Object js)
public static ReadableStream $as(Object obj)
public Boolean readable()
public void pause()
public <T> T pipe(T destination, Objs options)
public <T> T pipe(T destination)
public void resume()
public void setEncoding(String encoding)
public <T> void unpipe(T destination)
public <T> void unpipe()
public void unshift(String chunk)
public void unshift(Buffer chunk)
public ReadableStream wrap(ReadableStream oldStream)
Copyright © 2018. All rights reserved.