SocketReader.front

Get the current element

The returned data is transient, which means it might get invalidated by the next call to popFront or when the range is finalized. Make sure to .dup it if you need a longer lifetime.

struct SocketReader(size_t MAX_FIELD_SIZE = 512, size_t FIELDS = 16)
front
()

Return Value

Type: cstring

A transient string to the current item. This will be null if this range is empty.

Meta