added api to create and write to byte buffers
This commit is contained in:
@@ -29,13 +29,13 @@ package net.runelite.api;
|
|||||||
*/
|
*/
|
||||||
public interface Buffer extends Node
|
public interface Buffer extends Node
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Use this api to write to byte buffers
|
|
||||||
*/
|
|
||||||
byte[] getPayload();
|
byte[] getPayload();
|
||||||
|
|
||||||
int getOffset();
|
int getOffset();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use this api to write to byte buffers
|
||||||
|
*/
|
||||||
void writeByte(int var1);
|
void writeByte(int var1);
|
||||||
|
|
||||||
void writeShort(int var1);
|
void writeShort(int var1);
|
||||||
|
|||||||
Reference in New Issue
Block a user