2 import java.nio.ByteBuffer;
4 class TableStatus extends Entry {
7 TableStatus(Slot slot, int _maxslots) {
16 static Entry decode(Slot slot, ByteBuffer bb) {
17 int maxslots=bb.getInt();
18 return new TableStatus(slot, maxslots);
21 void encode(ByteBuffer bb) {
22 bb.put(Entry.TypeTableStatus);
27 return Integer.BYTES+Byte.BYTES;
31 return Entry.TypeTableStatus;