added api to create and write to byte buffers

This commit is contained in:
Noodleeater
2021-01-30 23:31:36 +00:00
parent 8acd6ff097
commit 941189c82d

View File

@@ -29,13 +29,13 @@ package net.runelite.api;
*/
public interface Buffer extends Node
{
/**
* Use this api to write to byte buffers
*/
byte[] getPayload();
int getOffset();
/**
* Use this api to write to byte buffers
*/
void writeByte(int var1);
void writeShort(int var1);