mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Added getter for ByteInput ByteBuf for testing
This commit is contained in:
@ -56,6 +56,10 @@ public class ByteInput {
|
||||
return this.bitInput = bitInput;
|
||||
}
|
||||
|
||||
ByteBuf buffer() {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
public int bytesRead() {
|
||||
return buffer.readerIndex();
|
||||
}
|
||||
|
Reference in New Issue
Block a user