RuneScanner is the interface that adds the UnreadRune method to the basic ReadRune method.

UnreadRune causes the next call to ReadRune to return the last rune read. If the last operation was not a successful call to ReadRune, UnreadRune may return an error, unread the last rune read (or the rune prior to the last-unread rune), or (in implementations that support the Seeker interface) seek to the start of the rune before the current offset.

See also:

Fields

@:interfacetypeffundynamicunreadRune():Error

dynamicreadRune():{_2:Error, _1:GoInt, _0:GoInt32}

__underlying__():AnyInterface

Allows struct or interfaces to provide back type information.

Returns:

go.AnyInterface