StreamMem.with_buffer


Description:

[ CCode ( has_construct_function = false , type = "GMimeStream*" ) ]
public StreamMem.with_buffer (uint8[] buffer)

Creates a new StreamMem object and initializes the stream contents with the first buffer.length bytes of buffer.

Parameters:

buffer

stream data

len

buffer length

Returns:

a new memory stream initialized with buffer.




2022 vala-language.org