Rework the import code a bit

This commit is contained in:
Alexander Bakker 2017-12-03 21:42:12 +01:00
parent df5a815e57
commit 41846f9114
6 changed files with 101 additions and 44 deletions

View file

@ -1,8 +1,13 @@
package me.impy.aegis.util;
/**
* Created by alex on 12/3/17.
*/
import java.io.ByteArrayInputStream;
public class ByteInputStream {
public class ByteInputStream extends ByteArrayInputStream {
public ByteInputStream(byte[] buf) {
super(buf);
}
public byte[] getBytes() {
return this.buf;
}
}