Reads arbitrary contents from netstring buffer input into output.
Returns the length of the output in length and the position of the
last netstring character in last. The output buffer is not cleared!
Argument error is set to the following error codes:
E_FORMAT if the input is not in netstring format.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout) | :: | input |
Input buffer. |
||
| character(len=*), | intent(inout) | :: | output |
Netstring buffer. |
||
| integer, | intent(out), | optional | :: | length |
Length of output. |
|
| integer, | intent(out), | optional | :: | last |
Last position. |
|
| integer, | intent(out), | optional | :: | error |
Error code. |