This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-03-01 12:16:08 +08:00

21 lines
439 B
C++

#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);
};