Initial commit
This commit is contained in:
21
Minecraft.World/IntBuffer.h
Normal file
21
Minecraft.World/IntBuffer.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "Buffer.h"
|
||||
|
||||
class IntBuffer : public Buffer
|
||||
{
|
||||
private:
|
||||
int *buffer;
|
||||
|
||||
public:
|
||||
IntBuffer(unsigned int capacity);
|
||||
IntBuffer( unsigned int capacity, int *backingArray );
|
||||
virtual ~IntBuffer();
|
||||
|
||||
virtual IntBuffer *flip();
|
||||
int get(unsigned int index);
|
||||
int *getBuffer();
|
||||
IntBuffer *put(intArray *inputArray, unsigned int offset, unsigned int length);
|
||||
IntBuffer *put(intArray inputArray);
|
||||
IntBuffer *put(int i);
|
||||
};
|
||||
Reference in New Issue
Block a user