mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 07:05:34 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
21
Minecraft.World/ConsoleJavaLibs/IntBuffer.h
Normal file
21
Minecraft.World/ConsoleJavaLibs/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