Class BufferTooSmallException
Represents an exception that is thrown when an FFmpeg operation fails because the provided buffer is too small.
Implements
Inherited Members
Namespace: FFmpeg.Exceptions
Assembly: FFmpeg.dll
Syntax
public class BufferTooSmallException : FFmpegException, ISerializable
Remarks
This exception corresponds to the BufferTooSmall FFmpeg error code. It is typically thrown when a destination buffer does not have sufficient capacity to hold the requested data.
Constructors
View SourceBufferTooSmallException()
Initializes a new instance of the BufferTooSmallException class.
Declaration
public BufferTooSmallException()
BufferTooSmallException(string)
Initializes a new instance of the BufferTooSmallException class with a specified error message.
Declaration
public BufferTooSmallException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
BufferTooSmallException(string, Exception)
Initializes a new instance of the BufferTooSmallException class with a specified error message and inner exception.
Declaration
public BufferTooSmallException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| Exception | innerException | The exception that caused this exception. |