gio-2.0 Reference Manual

Synopsis

public class DataInputStream : BufferedInputStream  {
    public    weak DataStreamByteOrder  byte_order                { get; set; } ;
    public    weak DataStreamNewlineType  newline_type              { get; set; } ;


    public                              DataInputStream           ( InputStream         base_stream ) ;


    public    DataStreamByteOrder       get_byte_order            (  ) ;
    public    DataStreamNewlineType     get_newline_type          (  ) ;
    public    uchar                     read_byte                 ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    short                     read_int16                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    int                       read_int32                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    int64                     read_int64                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    weak string               read_line                 ( ulong               length,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    ushort                    read_uint16               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    uint                      read_uint32               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    uint64                    read_uint64               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    weak string               read_until                ( string              stop_chars,
                                                                    ulong               length,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;
    public    void                      set_byte_order            ( DataStreamByteOrder order ) ;
    public    void                      set_newline_type          ( DataStreamNewlineType type ) ;
}

DataInputStream Description

Details

Constructor Details

DataInputStream ()
    public                              DataInputStream           ( InputStream         base_stream ) ;		

Field Details

Signal Details

Property Details

byte_order
    public    weak DataStreamByteOrder  byte_order                { get; set; } ;		

newline_type
    public    weak DataStreamNewlineType  newline_type              { get; set; } ;		

Method Details

get_byte_order ()
    public    DataStreamByteOrder       get_byte_order            (  ) ;		

get_newline_type ()
    public    DataStreamNewlineType     get_newline_type          (  ) ;		

read_byte ()
    public    uchar                     read_byte                 ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_int16 ()
    public    short                     read_int16                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_int32 ()
    public    int                       read_int32                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_int64 ()
    public    int64                     read_int64                ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_line ()
    public    weak string               read_line                 ( ulong               length,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_uint16 ()
    public    ushort                    read_uint16               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_uint32 ()
    public    uint                      read_uint32               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_uint64 ()
    public    uint64                    read_uint64               ( Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

read_until ()
    public    weak string               read_until                ( string              stop_chars,
                                                                    ulong               length,
                                                                    Cancellable?        cancellable ) 
                                                             throws GLib.Error;		

set_byte_order ()
    public    void                      set_byte_order            ( DataStreamByteOrder order ) ;		

set_newline_type ()
    public    void                      set_newline_type          ( DataStreamNewlineType type ) ;		


Created by Valadoc