TextReader
TextReader class
Constructor Summary
Public Constructor | ||
public |
constructor(url: string, encoding: string, onload: function, onerror: function) constructor |
Member Summary
Public Members | ||
public |
data: * |
|
public |
encoding: * |
|
public |
|
|
public |
onerrorFunc: * |
|
public |
onloadFunc: * |
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
getText(): * |
|
public |
hasBytesAvailable(): * |
|
public |
readByte() |
|
public |
readData(length: *) |
|
public |
|
|
public |
|
|
public |
readInt() |
|
public |
readInteger(length: *, signed: *) |
|
public |
|
|
public |
readString(length: *) |
|
public |
|
|
public |
|
|
public |
|
Public Constructors
Public Members
public data: * source
public encoding: * source
public onerrorFunc: * source
public onloadFunc: * source
Public Methods
public readByte() source
public readData(length: *) source
Params:
Name | Type | Attribute | Description |
length | * |
public readDouble() source
public readFloat() source
public readInt() source
public readInteger(length: *, signed: *) source
Params:
Name | Type | Attribute | Description |
length | * | ||
signed | * |
public readShort() source
public readString(length: *) source
Params:
Name | Type | Attribute | Description |
length | * |