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, ISerializableInheritance
object ← Exception ← EndOfBufferException
Implements
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
The total size of the buffer in bytes.
bufferPosition long
The current read position within the buffer at the time of the failed access.
requestedLength long
The number of bytes that were requested but could not be satisfied.
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
BufferSize
public long BufferSize { get; }Property Value
RequestedLength
public long RequestedLength { get; }