Details
GMIME_STREAM_MEM_TYPE
#define GMIME_STREAM_MEM_TYPE g_str_hash ("GMimeStreamMem") |
GMIME_IS_STREAM_MEM()
#define GMIME_IS_STREAM_MEM(stream) (((GMimeStream *) stream)->type == GMIME_STREAM_MEM_TYPE) |
GMIME_STREAM_MEM()
#define GMIME_STREAM_MEM(stream) ((GMimeStreamMem *) stream) |
g_mime_stream_mem_new ()
Creates a new GMimeStreamMem object.
g_mime_stream_mem_new_with_byte_array ()
GMimeStream* g_mime_stream_mem_new_with_byte_array
(GByteArray *array); |
Creates a new GMimeStreamMem with data array.
g_mime_stream_mem_new_with_buffer ()
GMimeStream* g_mime_stream_mem_new_with_buffer
(const char *buffer,
size_t len); |
Creates a new GMimeStreamMem object and initializes the stream
contents with the first len bytes of buffer.
g_mime_stream_mem_set_byte_array ()
void g_mime_stream_mem_set_byte_array
(GMimeStreamMem *mem,
GByteArray *array); |
Sets the byte array on the memory stream. Note: The memory stream
is not responsible for freeing the byte array.