class Fincher::IOScanner

Defined in:

fincher/io_scanner.cr

Constant Summary

BUFFER_SIZE = 4096

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(io : Fincher::IO) #

[View source]

Instance Method Detail

def [](index) #

[View source]
def []?(index) #

[View source]
def check(pattern) #

[View source]
def check_until(pattern) #

[View source]
def eos? #

[View source]
def gets_to_end #

[View source]
def inspect(stream : ::IO) #
Description copied from class Reference

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>

[View source]
def io : IO #

[View source]
def last_match : Regex::MatchData? #

[View source]
def offset #

[View source]
def offset=(position) #

[View source]
def peek(len) #

[View source]
def pos #

[View source]
def pos=(position) #

[View source]
def print_buffer_position #

[View source]
def reset #

[View source]
def rest #

[View source]
def scan(pattern) #

[View source]
def scan_until(pattern) #

[View source]
def size #

[View source]
def skip(bytes_count : Int) #

[View source]
def skip(pattern : Regex) #

[View source]
def skip_until(pattern) #

[View source]
def stdin? #

[View source]
def string #

[View source]
def terminate #

[View source]

Macro Detail

macro method_missing(call) #

[View source]