Step try and extract an optional value (null).
The buffer to extract it from.
The position in the buffer to try and extract it from.
The last position accessible for this read in the buffer.
Null if this is optional, undefined otherwise.
Step try and extract an optional value (null).