GObject.Object
Soup.Coding
Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupCoding |
Class : | Coding |
Implements: | Soup.SessionFeature |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
direction : Number
|
Soup.Coding | |
direction : Soup.CodingDirection
read only
|
Soup.Coding | |
parent : GObject.Object
read only
|
Soup.Coding |
Method / Constructor | Defined By | |
---|---|---|
new Soup.Coding
(Object properties)
Create a new Soup.Coding
Create a new Soup.Coding
|
||
Applies coding to input_length bytes of data from input, and returns a new SoupBuffer containing the encoded/decoded data.
Applies coding to input_length bytes of data from input, and returns a new SoupBuffer containing the encoded/decoded data. If encoder will flush any buffered data, and (if possible) verify that the input has reached the end of the stream. NULL if no data can be returned at this point, or if an error occurred. (If you pass NULL for error, there is no way to distinguish the latter two cases).
|
Soup.Coding | |
apply_into
(void* input, Number input_length, Object out_values, void* output, Number output_length, Number output_used, Boolean done)
:
Soup.CodingStatus
were encoded/decoded.
were encoded/decoded. were filled with encoded/decoded data. Applies coding to input_length bytes of data from input, and outputs between %0 and output_length encoded/decoded bytes into success, SOUP_CODING_STATUS_COMPLETE if the stream has been fully encoded/decoded, SOUP_CODING_STATUS_NEED_SPACE if a larger SOUP_CODING_STATUS_ERROR on error (in which case error will be set).
|
Soup.Coding | |
attach
(Session session)
:
none
|
Soup.SessionFeature | |
detach
(Session session)
:
none
|
Soup.SessionFeature |
None |