mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
20 lines
315 B
Java
20 lines
315 B
Java
package codechicken.lib.data;
|
|
|
|
import java.io.InputStream;
|
|
|
|
public class MCDataInputStream extends InputStream
|
|
{
|
|
private MCDataInput in;
|
|
|
|
public MCDataInputStream(MCDataInput in)
|
|
{
|
|
this.in = in;
|
|
}
|
|
|
|
@Override
|
|
public int read()
|
|
{
|
|
return in.readByte()&0xFF;
|
|
}
|
|
}
|