Package mgui.interfaces.io
Interface DataBuffer<T extends MguiNumber>
- Type Parameters:
T
- Number type for this buffer.
public interface DataBuffer<T extends MguiNumber>
Represents a data buffer of number type
T
.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Method Summary
Modifier and Type Method Description void
flushBuffer()
Flushes this buffer.int
getBufferSize()
Returns the size of this buffervoid
setBufferSize(int s)
Resizes this buffer tos
.
-
Method Details
-
getBufferSize
int getBufferSize()Returns the size of this buffer- Returns:
-
setBufferSize
void setBufferSize(int s)Resizes this buffer tos
.- Parameters:
s
-
-
flushBuffer
void flushBuffer()Flushes this buffer.
-