Methods
avail() → {number}
Returns the available no of bytes for writing.
Returns:
-
- Type
- number
commit(len) → {number}
Commits n written bytes
Parameters:
Name | Type | Description |
---|---|---|
len |
number | No of bytes |
Returns:
-
- Type
- number
request(len) → {number}
Requests n bytes for writing
Parameters:
Name | Type | Description |
---|---|---|
len |
number | No of bytes |
Returns:
-
- Type
- number