public function consumeTable(Buffer $originalBuffer)
    {
        $buffer = $originalBuffer->consumeSlice($originalBuffer->consumeUint32());

        $data = [];
        while (!$buffer->isEmpty()) {
            $data[$buffer->consume($buffer->consumeUint8())] = $this->consumeFieldValue($buffer);
        }

        return $data;
    }