StreamMem.newWithBuffer

Creates a new #GMimeStreamMem object and initializes the stream contents with the first len bytes of buffer.

class StreamMem
static
newWithBuffer
(
ubyte[] buffer
)

Parameters

buffer ubyte[]

stream data

Return Value

Type: gmime.stream_mem.StreamMem

a new memory stream initialized with buffer.