AlpacaLibary  1.63
A closed source C++ bot for OSRS
ByteBuffer.hpp
Go to the documentation of this file.
1 #ifndef BYTEBUFFER_HPP_INCLUDED
2 #define BYTEBUFFER_HPP_INCLUDED
3 
4 #include "Object.hpp"
5 #include <cstdint>
6 namespace Internal
7 {
8  class ByteBuffer : public Object
9  {
10  public:
11  ByteBuffer(const void* Obj);
12 
13  ByteBuffer() = default;
14  ByteBuffer(ByteBuffer&& Obj) = default;
15  ByteBuffer(const ByteBuffer& Obj) = default;
17  ByteBuffer& operator=(const ByteBuffer& Obj) = default;
18 
19  std::int32_t GetCapacity() const;
20  std::int8_t Get(std::int32_t Index) const;
21 
22  };
23 }
24 
25 #endif // BYTEBUFFER_HPP_INCLUDED
ByteBuffer & operator=(const ByteBuffer &Obj)=default
ByteBuffer(const ByteBuffer &Obj)=default
ByteBuffer(ByteBuffer &&Obj)=default
std::int8_t Get(std::int32_t Index) const
ByteBuffer & operator=(ByteBuffer &&Obj)=default
ByteBuffer(const void *Obj)
std::int32_t GetCapacity() const