Class BufferOverflowException
This exception was thrown when the buffer does not have enough space to allocate.
Inheritance
System.Object
BufferOverflowException
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class BufferOverflowException : Exception
Constructors
BufferOverflowException()
Initializes a new instance of the exception class.
Declaration
public BufferOverflowException()
BufferOverflowException(Int32)
Initializes a new instance of the exception class with a specified error.
Declaration
public BufferOverflowException(int requiredSpace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | requiredSpace | Memory required from the buffer. |
BufferOverflowException(String)
Initializes a new instance of the exception class with a specified error.
Declaration
public BufferOverflowException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message. |
BufferOverflowException(String, Exception)
Initializes a new instance of the exception class with a specified error.
Declaration
public BufferOverflowException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message. |
Exception | innerException | Inner exception. |
Properties
RequiredSpace
Required memory in bytes.
Declaration
public int RequiredSpace { get; }
Property Value
Type | Description |
---|---|
System.Int32 |