public class WritableStream extends EventEmitter
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
writable |
Modifier | Constructor and Description |
---|---|
protected |
WritableStream(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static WritableStream |
$as(Object obj) |
void |
end() |
void |
end(Buffer buffer) |
void |
end(Buffer buffer,
Function cb) |
void |
end(String str) |
void |
end(String str,
Function cb) |
void |
end(String str,
String encoding) |
void |
end(String str,
String encoding,
Function cb) |
Boolean |
writable() |
Boolean |
write(Buffer buffer) |
Boolean |
write(Buffer buffer,
Function cb) |
Boolean |
write(String str) |
Boolean |
write(String buffer,
Function cb) |
Boolean |
write(String str,
String encoding) |
Boolean |
write(String str,
String encoding,
Function cb) |
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> writable
protected WritableStream(Objs.Constructor<?> c, Object js)
public static WritableStream $as(Object obj)
public Boolean writable()
public void end()
public void end(String str)
public void end(Buffer buffer)
Copyright © 2018. All rights reserved.