GLib.DataInputStream – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
DataInputStream
byte_order
newline_type
DataInputStream
get_byte_order
get_newline_type
read_byte
read_int16
read_int32
read_int64
read_line
read_line_async
read_line_utf8
read_line_utf8_async
read_uint16
read_uint32
read_uint64
read_until
read_until_async
read_upto
read_upto_async
set_byte_order
set_newline_type
DataInputStream
Object Hierarchy:
Description:
public
class
DataInputStream
:
BufferedInputStream
,
Seekable
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
DataStreamByteOrder
byte_order
{
set
;
get
; }
public
DataStreamNewlineType
newline_type
{
set
;
get
; }
Creation methods:
public
DataInputStream
(
InputStream
base_stream)
Methods:
public
DataStreamByteOrder
get_byte_order
()
public
DataStreamNewlineType
get_newline_type
()
public
uint8
read_byte
(
Cancellable
? cancellable =
null
)
throws
IOError
public
int16
read_int16
(
Cancellable
? cancellable =
null
)
throws
IOError
public
int32
read_int32
(
Cancellable
? cancellable =
null
)
throws
IOError
public
int64
read_int64
(
Cancellable
? cancellable =
null
)
throws
IOError
public
string
?
read_line
(
out
size_t
length =
null
,
Cancellable
? cancellable =
null
)
throws
IOError
public
async
string
?
read_line_async
(
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
,
out
size_t
length =
null
)
throws
IOError
,
IOError
public
string
?
read_line_utf8
(
out
size_t
length,
Cancellable
? cancellable =
null
)
throws
IOError
public
async
string
?
read_line_utf8_async
(
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
,
out
size_t
length)
throws
IOError
,
IOError
public
uint16
read_uint16
(
Cancellable
? cancellable =
null
)
throws
IOError
public
uint32
read_uint32
(
Cancellable
? cancellable =
null
)
throws
IOError
public
uint64
read_uint64
(
Cancellable
? cancellable =
null
)
throws
IOError
public
string
read_until
(
string
stop_chars,
out
size_t
length,
Cancellable
? cancellable =
null
)
throws
IOError
public
async
string
read_until_async
(
string
stop_chars,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
,
out
size_t
length)
throws
IOError
,
IOError
public
string
read_upto
(
string
stop_chars,
ssize_t
stop_chars_len,
out
size_t
length,
Cancellable
? cancellable =
null
)
throws
IOError
public
async
string
read_upto_async
(
string
stop_chars,
ssize_t
stop_chars_len,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
,
out
size_t
length)
throws
IOError
,
IOError
public
void
set_byte_order
(
DataStreamByteOrder
order)
public
void
set_newline_type
(
DataStreamNewlineType
type)
Inherited Members:
All known members inherited from class GLib.BufferedInputStream
buffer_size
fill
fill_async
get_available
get_buffer_size
peek
peek_buffer
read_byte
set_buffer_size
All known members inherited from class GLib.FilterInputStream
base_stream
close_base_stream
get_base_stream
get_close_base_stream
set_close_base_stream
All known members inherited from class GLib.InputStream
clear_pending
close
close_async
has_pending
is_closed
read
read_all
read_async
read_bytes
read_bytes_async
set_pending
skip
skip_async
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count
All known members inherited from interface GLib.Seekable
can_seek
can_truncate
seek
tell
truncate