class Chem::IO::TextIO
- Chem::IO::TextIO
- Reference
- Object
Defined in:
chem/io/text_io.crConstructors
Instance Method Summary
- #check(& : Char -> Bool) : Bool
- #check(byte : Int) : Bool
- #check(byte : Char) : Bool
- #check(strings : Enumerable(String)) : Bool
- #check(charsets : Enumerable) : Bool
- #check(str : String) : Bool
- #check(*charsets : Char | Enumerable(Char)) : Bool
- #check(*strings : String) : Bool
- #close(*args, **options)
- #close(*args, **options, &)
- #count_bytes_while(offset : Int = 0, & : UInt8 -> Bool) : Int32
- #each_byte(& : UInt8 -> ) : Nil
- #eof? : Bool
- #eol?(ignore_spaces : Bool = true) : Bool
- #peek(count : Int) : String
- #peek : Char | Nil
- #peek_byte : UInt8 | Nil
- #peek_bytes(count : Int) : Bytes
- #peek_line : String
- #read(count : Int) : String
- #read : Char
- #read? : Char | Nil
- #read_byte : UInt8
- #read_byte? : UInt8 | Nil
- #read_bytes(count : Int) : Bytes
- #read_bytes_to_end : Bytes
- #read_bytes_until(delim : Char) : Bytes
- #read_bytes_until(byte : UInt8) : Bytes
- #read_float(strict : Bool = true) : Float64
- #read_float?(strict : Bool = true) : Float64 | Nil
- #read_int(strict : Bool = true) : Int32
- #read_int?(strict : Bool = true) : Int32 | Nil
- #read_line : String
- #read_to_end : String
- #read_until(delim : Char) : String
- #read_vector : Chem::Spatial::Vector
- #read_vector? : Chem::Spatial::Vector | Nil
- #read_word : String
- #read_word? : String | Nil
- #scan(& : Char -> Bool) : String
- #scan(sets : Enumerable) : String
- #scan(*sets : Char | Enumerable(Char)) : String
- #scan_bytes(& : UInt8 -> Bool) : Bytes
- #skip(sets : Enumerable) : self
- #skip(*sets : Char | Enumerable(Char)) : self
- #skip_bytes(count : Int) : self
- #skip_line : self
- #skip_spaces : self
- #skip_to_end : self
- #skip_until(& : UInt8 -> Bool) : self
- #skip_until(*delim : Char) : self
- #skip_until(*bytes : Int) : self
- #skip_while(& : UInt8 -> Bool) : self
- #skip_whitespace : self
- #skip_word : self