Method: StringIO#seek

Defined in:
stringio.c

#seek(amount, whence = SEEK_SET) ⇒ 0

Seeks to a given offset amount in the stream according to the value of whence (see IO#seek).

Returns:

  • (0)


650
651
652
# File 'stringio.c', line 650

static VALUE
strio_seek(argc, argv, self)
int argc;