mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Rework the import code a bit
This commit is contained in:
parent
df5a815e57
commit
41846f9114
6 changed files with 101 additions and 44 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue