package mapped;

import java.io.IOException;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.api.RSAbstractSocket;

@ObfuscatedName("ro")
public abstract class AbstractSocket implements RSAbstractSocket {
   @ObfuscatedName("gg")
   @ObfuscatedGetter(
      intValue = -211744297
   )
   static int js5Port;

   @ObfuscatedName("ah")
   @ObfuscatedSignature(
      descriptor = "(II)Z",
      garbageValue = "278911957"
   )
   public abstract boolean isAvailable_base(int var1) throws IOException;

   @ObfuscatedName("ar")
   @ObfuscatedSignature(
      descriptor = "(I)I",
      garbageValue = "1133909296"
   )
   public abstract int available_base() throws IOException;

   @ObfuscatedName("ao")
   @ObfuscatedSignature(
      descriptor = "(I)I",
      garbageValue = "-1251290768"
   )
   public abstract int readUnsignedByte_base() throws IOException;

   @ObfuscatedName("ab")
   @ObfuscatedSignature(
      descriptor = "([BIIB)I",
      garbageValue = "-54"
   )
   public abstract int read_base(byte[] var1, int var2, int var3) throws IOException;

   @ObfuscatedName("au")
   @ObfuscatedSignature(
      descriptor = "([BIII)V",
      garbageValue = "-1981684875"
   )
   public abstract void write_base(byte[] var1, int var2, int var3) throws IOException;

   @ObfuscatedName("aa")
   @ObfuscatedSignature(
      descriptor = "(I)V",
      garbageValue = "1195407219"
   )
   public abstract void close_base();
}
