glib-2.0 Reference Manual

Synopsis

public class Checksum {
    public                              Checksum                  ( ChecksumType        checksum_type ) ;


    public    Checksum                  copy                      (  ) ;
    public    void                      update                    ( uchar[]             data,
                                                                    size_t              length ) ;
    public    weak string               get_string                (  ) ;
    public    void                      get_digest                ( uint8[]             buffer,
                                                                    size_t              digest_len ) ;
    public    static string             compute_for_data          ( ChecksumType        checksum_type,
                                                                    uchar[]             data,
                                                                    size_t              length ) ;
    public    static string             compute_for_string        ( ChecksumType        checksum_type,
                                                                    string              str,
                                                                    size_t              length ) ;
}

Checksum Description

Details

Constructor Details

Checksum ()
    public                              Checksum                  ( ChecksumType        checksum_type ) ;		

Field Details

Signal Details

Property Details

Method Details

copy ()
    public    Checksum                  copy                      (  ) ;		

update ()
    public    void                      update                    ( uchar[]             data,
                                                                    size_t              length ) ;		

get_string ()
    public    weak string               get_string                (  ) ;		

get_digest ()
    public    void                      get_digest                ( uint8[]             buffer,
                                                                    size_t              digest_len ) ;		

compute_for_data ()
    public    static string             compute_for_data          ( ChecksumType        checksum_type,
                                                                    uchar[]             data,
                                                                    size_t              length ) ;		

compute_for_string ()
    public    static string             compute_for_string        ( ChecksumType        checksum_type,
                                                                    string              str,
                                                                    size_t              length ) ;		


Created by Valadoc