Refactor packet string charset

This commit is contained in:
P0nk
2021-06-21 22:03:20 +02:00
parent c4c5700d32
commit 72ff8d563b
4 changed files with 9 additions and 12 deletions

View File

@@ -1,5 +1,10 @@
package net.packet;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
public interface Packet {
Charset STRING_CHARSET = StandardCharsets.US_ASCII;
byte[] getBytes();
}