isPrimitive()) { throw new DecodeException('EOC value must be primitive.'); } // EOC type has always zero length Length::expectFromDER($data, $idx, 0); $offset = $idx; return self::create(); } }