Share via


streambuf::alloc Method

Allocates a contiguous memory block and returns it.

virtual _CharType* alloc(
   size_t count
);

Parameters

  • count
    The number of characters to allocate.

Return Value

A pointer to a block to write to, null if the stream buffer implementation does not support alloc/commit.

Requirements

Header: astreambuf.h

Namespace: concurrency::streams

See Also

Reference

streambuf Class