mark
Sets a mark position in this stream. The parameter readlimit
indicates how many bytes can be read before a mark is invalidated. Calling reset will reposition the stream back to the marked position if readlimit
has not been surpassed. The underlying buffer may be increased in size to allow readlimit
number of bytes to be supported.
See also
reset()
Parameters
readlimit
the number of bytes that can be read before the mark is invalidated.