namespace UglyToad.PdfPig.Tokenization.Scanner
{
///
///
/// A that supports seeking in the underlying input data.
///
public interface ISeekableTokenScanner : ITokenScanner
{
///
/// Move to the specified position.
///
void Seek(long position);
///
/// The current position in the input.
///
long CurrentPosition { get; }
///
/// The length of the data represented by this scanner.
///
long Length { get; }
///
/// Add support for a custom type of tokenizer.
///
void RegisterCustomTokenizer(byte firstByte, ITokenizer tokenizer);
///
/// Remove support for a custom type of tokenizer added with .
///
void DeregisterCustomTokenizer(ITokenizer tokenizer);
}
}