tuple = new VTuple(schema.getColumnNum());
int nullFlagSize = buffer.getShort();
byte[] nullFlagBytes = new byte[nullFlagSize];
buffer.get(nullFlagBytes, 0, nullFlagSize);
nullFlags = new BitArray(nullFlagBytes);
int tupleSize = buffer.getShort();
while (buffer.remaining() < (tupleSize)) {
if (fillBuffer() < 0) {
return null;