public write(buffer: Buffer): boolean
Parameters
Returns
boolean
public write(buffer: Buffer, cb?: Function): boolean
Parameters
Returns
boolean
public write(str: string, cb?: Function): boolean
Parameters
-
str: string
-
cb?: Function optional
Returns
boolean
public write(str: string, encoding?: string, cb?: Function): boolean
Parameters
-
str: string
-
encoding?: string optional
-
cb?: Function optional
Returns
boolean
public write(str: string, encoding?: string, fd?: string): boolean
Parameters
-
str: string
-
encoding?: string optional
-
fd?: string optional
Returns
boolean
public write(chunk: any, encoding?: string): any
Parameters
-
chunk: any
-
encoding?: string optional
Returns
any