Click or drag to resize
WriteBufferReserve Method
Ensures that size <= (Capacity - Count).

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public void Reserve(
	int size
)

Parameters

size
Type: SystemInt32
The minimum number of bytes to reserve.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe WriteBuffer object was created by calling WriteBuffer(WriteAsyncCallback, Int32).
Remarks
Performs the following steps:
  1. If size > (Capacity - Count), then calls Flush.
  2. If size > Capacity, then enlarges the buffer such that it can hold at least size bytes.
See Also