Skip to content

Class EndOfBufferException

Namespace: Void.Minecraft.Buffers.Exceptions
Assembly: Void.Minecraft.dll

Indicates an attempt to access data beyond the available buffer size.

public class EndOfBufferException : Exception, ISerializable

Inheritance

objectExceptionEndOfBufferException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

EndOfBufferException(long, long, long)

Indicates an attempt to access data beyond the available buffer size.

public EndOfBufferException(long bufferSize, long bufferPosition, long requestedLength)

Parameters

bufferSize long

bufferPosition long

requestedLength long

EndOfBufferException(int, int, int)

public EndOfBufferException(int bufferSize, int bufferPosition, int requestedLength)

Parameters

bufferSize int

bufferPosition int

requestedLength int

EndOfBufferException(nint, nint, nint)

public EndOfBufferException(nint bufferSize, nint bufferPosition, nint requestedLength)

Parameters

bufferSize nint

bufferPosition nint

requestedLength nint

EndOfBufferException(short, short, short)

public EndOfBufferException(short bufferSize, short bufferPosition, short requestedLength)

Parameters

bufferSize short

bufferPosition short

requestedLength short

EndOfBufferException(byte, byte, byte)

public EndOfBufferException(byte bufferSize, byte bufferPosition, byte requestedLength)

Parameters

bufferSize byte

bufferPosition byte

requestedLength byte

Properties

BufferPosition

public long BufferPosition { get; }

Property Value

long

BufferSize

public long BufferSize { get; }

Property Value

long

RequestedLength

public long RequestedLength { get; }

Property Value

long