function read() { $this->data = $this->input; if (strlen($this->input) != 20) { throw new Exception("Bad ModificationDetectionCodePacket"); } }