module BufferedIOMixin
Included Modules
IO
Direct including types
BufferedIO(T)
,
FileDescriptorIO
Defined in:
Constant Summary
BUFFER_SIZE
=
8192
Instance Method Summary
#close
#flush
#flush_on_newline=
(flush_on_newline)
#flush_on_newline?
#gets
(delimiter : Char, limit : Int)
#read
(slice : Slice(UInt8), count)
#read
(length : Int)
#read_byte
#read_char_with_bytesize
#rewind
#sync=
(sync)
#sync?
#unbuffered_close
#unbuffered_flush
#unbuffered_read
(slice : Slice(UInt8), count)
#unbuffered_rewind
#unbuffered_write
(slice : Slice(UInt8), count)
#write
(slice : Slice(UInt8), count)
#write_byte
(byte : UInt8)
Instance Method Detail
def
close
def
flush
def
flush_on_newline=
(flush_on_newline)
def
flush_on_newline?
def
gets
(delimiter :
Char
, limit :
Int
)
def
read
(slice :
Slice
(
UInt8
), count)
def
read
(length :
Int
)
def
read_byte
def
read_char_with_bytesize
def
rewind
def
sync=
(sync)
def
sync?
abstract def
unbuffered_close
abstract def
unbuffered_flush
abstract def
unbuffered_read
(slice :
Slice
(
UInt8
), count)
abstract def
unbuffered_rewind
abstract def
unbuffered_write
(slice :
Slice
(
UInt8
), count)
def
write
(slice :
Slice
(
UInt8
), count)
def
write_byte
(byte :
UInt8
)