internalStream(type)

Return a StreamHelper of the content in the asked type.

Returns : a StreamHelper of the content in the asked type.

Arguments

name type description
type String the type of the result: string, binarystring, uint8array, arraybuffer, nodebuffer.

Example

zip
.file("my_text.txt")
.internalStream("string")
.on("data", function (data) {...})
.on("error", function (e) {...})
.on("end", function () {...});