API / geotoolkit / util / stream / IWritable / IWritable
Defines interface of stream to write
Interface
↳
IWritable
Constructors
Methods
▸ Abstract close(): IWritable
Close stream
▸ Abstract dispose(): void
Dispose
void
▸ Abstract getContent(): any
Gets stream content
any
▸ Abstract out(data, offset?, length?): number
Put value to stream
| Name | Type | Description |
|---|---|---|
data | any | a data to save |
Optional offset | number | |
Optional length | number |
number
offset
▸ Abstract save(name?, save?): void
Save stream
| Name | Type | Description |
|---|---|---|
Optional name | string | file name/ string name |
Optional save | boolean | flag to save the stream directly to file or open dialog |
void